TextBox

Text input box

Constructors

this
this(dstring text, string source, Coordinate coordinates)
Undocumented in source.
this
this(Text text, string source, Coordinate coordinates)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
dropTextInput
void dropTextInput()
Undocumented in source. Be warned that the author may not have intended to support it.
focusLost
void focusLost()

Called when an object loses focus.

initTextInput
void initTextInput()
Undocumented in source. Be warned that the author may not have intended to support it.
passMCE
void passMCE(MouseEventCommons mec, MouseClickEvent mce)
Undocumented in source. Be warned that the author may not have intended to support it.
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)
Undocumented in source. Be warned that the author may not have intended to support it.
textInputKeyEvent
void textInputKeyEvent(uint timestamp, uint windowID, TextInputKey key, ushort modifier)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

ENABLE_TEXT_EDIT
enum ENABLE_TEXT_EDIT;
Undocumented in source.
INSERT
enum INSERT;
Undocumented in source.

Variables

cursorPos
size_t cursorPos;
Undocumented in source.
horizTextOffset
int horizTextOffset;
Undocumented in source.
oldText
Text oldText;
Undocumented in source.
onTextInput
void delegate(Event ev) onTextInput;
select
int select;
Undocumented in source.

Meta