DRAFT |
SDL_TextEditingEvent
A structure that contains keyboard text editing event structure information (event.edit.*).
Contents
Data Fields
Uint32 |
type |
SDL_TEXTEDITING |
Uint32 |
windowID |
the window with keyboard focus, if any |
char |
text[SDL_TEXTEDITINGEVENT_TEXT_SIZE] |
the editing text; * at most SDL_TEXTEDITINGEVENT_TEXT_SIZE - 1 characters * |
int |
start |
the start cursor of selected editing text |
int |
length |
the length of selected editing text |
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? There is also a #define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32). Should that info be included anywhere?
Code Examples
You can add your code example here
Remarks
* SDL_TextEditingEvent is a member of the SDL_Event union and is used when an event of type SDL_TEXTEDITING is reported. *
Related Enumerations
Related Structures