DRAFT

SDL_TextEditingEvent

A structure that contains keyboard text editing event structure information (event.edit.*).

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. *


CategoryStruct, CategoryEvents

SDL_TextEditingEvent (last edited 2011-01-24 04:06:40 by SheenaSmith)

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