v2026.5.3
All Bundles
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.

TextInputEvent

Text input event

Operations

GetText #

Get input text

method : public : GetText() ~ String

Return

TypeDescription
Stringinput text

GetTimestamp #

Timestamp of the event

method : public : GetTimestamp() ~ Int

Return

TypeDescription
Intevent timestamp

GetType #

Event type

method : public : GetType() ~ Int

Return

TypeDescription
IntEventType->SDL_TEXTINPUT

GetWindowID #

Window with mouse focus, if any

method : public : GetWindowID() ~ Int

Return

TypeDescription
Intwindow ID