GluiInput

Represents a general input node.

Styles:

  • styleKey = Default style for the input.
  • focusStyleKey = Style for when the input is focused.
  • disabledStyleKey = Style for when the input is disabled.

Constructors

this
this(T sup)
Undocumented in source.

Members

Functions

focus
void focus()

Change the focus to this node.

keyboardImpl
bool keyboardImpl()

Handle keyboard input.

mouseImpl
void mouseImpl()

Handle mouse input.

pickStyle
const(Style) pickStyle()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DefineStyles!("focusStyle", q{ style }, "hoverStyle", q{ style }, "disabledStyle", q{ style })
Undocumented in source.

Properties

isFocused
bool isFocused [@property getter]

Check if the node has focus.

isFocused
bool isFocused [@property setter]

Set or remove focus from this node.

Variables

changed
void delegate() changed;

Callback to run when the input value is altered.

disabled
bool disabled;
submitted
void delegate() submitted;

Callback to run when the input is submitted.

Inherited Members

From GluiFocusable

focus
void focus()
Undocumented in source.
isFocused
bool isFocused()
Undocumented in source.
mouseImpl
void mouseImpl()
Undocumented in source.
keyboardImpl
bool keyboardImpl()
Undocumented in source.

Meta