|
Size: 1504
Comment: add SDL_Event RS
|
Size: 1510
Comment: Updated types to match SDL_events.h.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 14: | Line 14: |
| ||int||'''start'''||,,the start cursor of selected editing text,, ^the location to begin editing from^|| ||int||'''length'''||,,the length of selected editing text,, ^the number of characters to edit from the start point^|| |
||Sint32||'''start'''||,,the start cursor of selected editing text,, ^the location to begin editing from^|| ||Sint32||'''length'''||,,the length of selected editing text,, ^the number of characters to edit from the start point^|| |
DRAFT |
SDL_TextEditingEvent
A structure that contains keyboard text editing event information.
Contents
Data Fields
Uint32 |
type |
SDL_TEXTEDITING |
Uint32 |
windowID |
the window with keyboard focus, if any |
char |
text |
the editing text; * at most SDL_TEXTEDITINGEVENT_TEXT_SIZE - 1 characters * |
Sint32 |
start |
the start cursor of selected editing text the location to begin editing from |
Sint32 |
length |
the length of selected editing text the number of characters to edit from the start point |
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. You would access it through the event's edit field.
Related Enumerations
Related Structures
