|
⇤ ← Revision 1 as of 2010-03-23 16:04:33
Size: 717
Comment: create page, add content (Rev 5540)
|
Size: 1143
Comment: add content from old wiki
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 12: | Line 12: |
| ||char||'''text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]'''||the editing text|| | ||char||'''text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]'''||the editing text; * at most SDL_TEXTEDITINGEVENT_TEXT_SIZE - 1 characters *|| |
| Line 15: | Line 15: |
| <<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_TextEditingEvent]]() is a member of the [[SDL_Event]] union and is used when an event of type SDL_TEXTEDITING is reported. * == Related Structures == .[[SDL_TextInputEvent]] |
| Line 25: | Line 29: |
| .[[SDL_StartTextInput]] .[[SDL_StopTextInput]] |
DRAFT |
SDL_TextEditingEvent
A structure that contains keyboard text editing event structure information (event.edit.*).
Contents
Data Fields
Uint8 |
type |
SDL_TEXTEDITING |
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
