TextInputListener

Called on text input events.

Members

Functions

dropTextInput
void dropTextInput()

When called, the listener should drop all text input.

initTextInput
void initTextInput()

Called if text input should be initialized.

textEditingEvent
void textEditingEvent(uint timestamp, uint windowID, dstring text, int start, int length)

Passes text editing events to the target, alongside with a window ID and a timestamp.

textInputEvent
void textInputEvent(uint timestamp, uint windowID, dstring text)

Passes the inputted text to the target, alongside with a window ID and a timestamp.

textInputKeyEvent
void textInputKeyEvent(uint timestamp, uint windowID, TextInputKey key, ushort modifier)

Passes text input key events to the target, e.g. cursor keys.

Meta