Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2012-09-18 11:07:52
Size: 987
Editor: pallavnawani
Comment: Removed Irrelevant Data.
Revision 9 as of 2013-08-08 21:26:32
Size: 904
Editor: RyanGordon
Comment: Edited
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%" style="color: #FF0000;" :> DRAFT||
Line 6: Line 5:
A structure that contains keyboard text input event ,,structure,, ^information^ (event.text.*). A structure that contains keyboard text input event information.
Line 13: Line 12:
||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||The input text; at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters|| ||char||'''text'''||The null-terminated input text in UTF-8 encoding||
Line 21: Line 20:
[[SDL_TextInputEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported. [[SDL_TextInputEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported. You would access it through the event's `text` field.

SDL_TextInputEvent

A structure that contains keyboard text input event information.

Data Fields

Uint32

type

SDL_TEXTINPUT

Uint32

windowID

The window with keyboard focus, if any

char

text

The null-terminated input text in UTF-8 encoding

Code Examples

You can add your code example here

Remarks

SDL_TextInputEvent() is a member of the SDL_Event union and is used when an event of type SDL_TEXTINPUT is reported. You would access it through the event's text field.


CategoryStruct, CategoryEvents

None: SDL_TextInputEvent (last edited 2015-01-28 20:41:22 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit