|
Size: 1232
Comment: update formatting - categories
|
Size: 1334
Comment: minor change
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| <<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?)>> | <<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? There is also a #define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32). Should that info be included anywhere?)>> |
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 |
green
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 Structures
