Bundle
SDL2 multimedia library for 2D graphics, input handling, audio playback, and window management. Core types: Window, Renderer, Texture, Surface, Event, and Mixer. Compile with -lib sdl2.
TextEditingEvent
Text editing (IME composition) event
Operations
GetLength #
Number of characters to edit from the start
method : public : GetLength() ~ IntReturn
| Type | Description |
|---|---|
| Int | selection length |
GetStart #
Where to begin editing within the composition
method : public : GetStart() ~ IntReturn
| Type | Description |
|---|---|
| Int | cursor start |
GetText #
The text being composed
method : public : GetText() ~ StringReturn
| Type | Description |
|---|---|
| String | composition text |
GetTimestamp #
Timestamp of the event
method : public : GetTimestamp() ~ IntReturn
| Type | Description |
|---|---|
| Int | event timestamp |