|
⇤ ← Revision 1 as of 2010-03-23 16:08:03
Size: 701
Comment: create page, add content (Rev 5540)
|
Size: 1122
Comment: add content from old wiki
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 14: | Line 14: |
| ||char||'''text[SDL_TEXTINPUTEVENT_TEXT_SIZE]'''||the input text|| | ||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?)>> |
| Line 22: | Line 23: |
| ''You can add useful comments here'' | * [[SDL_TextInputEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTINPUT is reported. * == Related Structures == .[[SDL_TextEditingEvent]] |
| Line 25: | Line 29: |
| .[[SDL_StartTextInput]] .[[SDL_StopTextInput]] |
DRAFT |
SDL_TextInputEvent
A structure that contains keyboard text input event structure information (event.text.*).
Data Fields
Uint8 |
type |
SDL_TEXTINPUT |
Uint32 |
windowID |
the window with keyboard focus, if any |
Uint8 |
which |
the keyboard device index |
char |
text[SDL_TEXTINPUTEVENT_TEXT_SIZE] |
the input text; *at most SDL_TEXTINPUTEVENT_TEXT_SIZE - 1 characters* |
green
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 Structures
