|
Size: 987
Comment: Removed Irrelevant Data.
|
Size: 904
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.
Contents
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.
Related Enumerations
Related Structures
