InputField

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

onDraw
void onDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboard
void onKeyboard(Keyboard.key key, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboard
void onKeyboard(dchar c)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboardFocus
void onKeyboardFocus(bool hasFocus)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(string font, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
text
string text()
Undocumented in source. Be warned that the author may not have intended to support it.
text
void text(string text)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

blockChar
bool blockChar;
Undocumented in source.
cursor
size_t cursor;
Undocumented in source.
error
string error;
Undocumented in source.
errorTime
double errorTime;
Undocumented in source.
font
string font;
Undocumented in source.
fontSize
size_t fontSize;
Undocumented in source.
hasFocus
bool hasFocus;
Undocumented in source.
onEnter
Event!string onEnter;
Undocumented in source.
rawText
string rawText;
Undocumented in source.

Inherited Members

From Base

style
Style style;
Undocumented in source.
cursor
Mouse.cursor cursor;
Undocumented in source.
size
int[2] size;
Undocumented in source.
pos
int[2] pos;
Undocumented in source.
parent
Base parent;
Undocumented in source.
mouseChild
Base mouseChild;
Undocumented in source.
keyboardChild
Base keyboardChild;
Undocumented in source.
hidden
bool hidden;
Undocumented in source.
children
Base[] children;
Undocumented in source.
buttons
bool[int] buttons;
Undocumented in source.
drawOutside
bool drawOutside;
Undocumented in source.
addNew
T addNew(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
add
Base add(Base gui)
Undocumented in source. Be warned that the author may not have intended to support it.
hiddenChildren
Base[] hiddenChildren()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(Base widget)
Undocumented in source. Be warned that the author may not have intended to support it.
findChild
Base findChild(int x, int y, Base[] filter)
Undocumented in source. Be warned that the author may not have intended to support it.
draggingChild
Base draggingChild()
Undocumented in source. Be warned that the author may not have intended to support it.
drag
Base drag(int[2] offset)
Undocumented in source. Be warned that the author may not have intended to support it.
dropTarget
Base dropTarget(int x, int y, Base draggable)
Undocumented in source. Be warned that the author may not have intended to support it.
dropPreview
void dropPreview(int x, int y, Base draggable, bool start)
Undocumented in source. Be warned that the author may not have intended to support it.
drop
void drop(int x, int y, Base draggable)
Undocumented in source. Be warned that the author may not have intended to support it.
root
Base root()
Undocumented in source. Be warned that the author may not have intended to support it.
grab
Draggable grab(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
receive
void receive(Draggable what)
Undocumented in source. Be warned that the author may not have intended to support it.
receiveShadow
Base receiveShadow(Draggable what, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
setTop
void setTop(Base child)
Undocumented in source. Be warned that the author may not have intended to support it.
hasFocus
bool hasFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
hasMouseFocus
bool hasMouseFocus()
Undocumented in source. Be warned that the author may not have intended to support it.
show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
cursorPos
int[2] cursorPos()
Undocumented in source. Be warned that the author may not have intended to support it.
onShow
void onShow()
Undocumented in source. Be warned that the author may not have intended to support it.
onHide
void onHide()
Undocumented in source. Be warned that the author may not have intended to support it.
onClose
void onClose()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeRequest
void resizeRequest(Base child, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
move
void move(int[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
moveLocal
void moveLocal(int[2] pos)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboard
void onKeyboard(Keyboard.key key, bool pressed)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboard
void onKeyboard(dchar c)
Undocumented in source. Be warned that the author may not have intended to support it.
onKeyboardFocus
void onKeyboardFocus(bool focus)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseMove
void onMouseMove(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseButton
void onMouseButton(Mouse.button b, bool p, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
onMouseFocus
void onMouseFocus(bool f)
Undocumented in source. Be warned that the author may not have intended to support it.
setCursor
void setCursor(Mouse.cursor c)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
DrawEmpty draw()
Undocumented in source. Be warned that the author may not have intended to support it.
onDraw
void onDraw()
Undocumented in source. Be warned that the author may not have intended to support it.
setStyle
void setStyle(Style style)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta