Wiki Page Content

Differences between revisions 16 and 17
Revision 16 as of 2014-07-10 18:24:44
Size: 1074
Comment: Corrected text type to char array (from Feedback).
Revision 17 as of 2014-07-10 18:28:47
Size: 1108
Comment: Changed description for consistency with SDL_TextInputEvent.
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
||char[32]||'''text'''||the editing text|| ||char[32]||'''text'''||the null-terminated editing text in UTF-8 encoding||

SDL_TextEditingEvent

A structure that contains keyboard text editing event information.

Data Fields

Uint32

type

SDL_TEXTEDITING

Uint32

timestamp

timestamp of the event

Uint32

windowID

the window with keyboard focus, if any

char[32]

text

the null-terminated editing text in UTF-8 encoding

Sint32

start

the location to begin editing from

Sint32

length

the number of characters to edit from the start point

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.


CategoryStruct, CategoryEvents

None: SDL_TextEditingEvent (last edited 2015-01-28 20:27:35 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit