InputNode

Represents a general input node.

Constructors

this
this(T sup)
Undocumented in source.

Members

Functions

checkIsPressed
bool checkIsPressed()

Check if the node is being pressed. Performs action lookup.

focus
void focus()

Change the focus to this node.

focusImpl
bool focusImpl()

Handle keyboard and gamepad input if no input action did.

keyboardImpl
bool keyboardImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
mouseImpl
void mouseImpl()

Handle mouse input if no input action did.

Mixins

__anonymous
mixin makeHoverable
Undocumented in source.
__anonymous
mixin enableInputActions
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.

submitted
void delegate() submitted;

Callback to run when the input is submitted.

Inherited Members

From FluidFocusable

focusImpl
bool focusImpl()

Handle input. Called each frame when focused.

focus
void focus()

Set focus to this node.

isFocused
bool isFocused()

Check if this node has focus. Recommended implementation: return tree.focus is this. Proxy nodes, such as FluidFilePicker might choose to return the value of the node they hold.

runFocusInputActions
bool runFocusInputActions()

Run input actions for the node.

Meta