|
Size: 1160
Comment: add SDL_Event RS
|
Size: 987
Comment: Removed Irrelevant Data.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| ||Uint32||'''windowID'''||the window with keyboard focus, if any|| ||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||the input text; *at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters*|| <<Color2(green,The '''text''' field currently shows the same info in both columns because it could go in either per the header vs *old wiki*. Where should it go?)>> |
||Uint32||'''windowID'''||The window with keyboard focus, if any|| ||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||The input text; at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters|| |
| Line 22: | Line 21: |
| * [[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. |
DRAFT |
SDL_TextInputEvent
A structure that contains keyboard text input event structure information (event.text.*).
Contents
Data Fields
Uint32 |
type |
SDL_TEXTINPUT |
Uint32 |
windowID |
The window with keyboard focus, if any |
char |
text[SDL_TEXTINPUTEVENT_TEXT_SIZE] |
The input text; at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters |
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.
Related Enumerations
Related Structures
