Struct ShortCut
A shortcut for binding input.
struct ShortCut
;
Shortcuts are commonly used for interacting with a Control
element from a InputEvent
.
Properties
Name | Type | Description |
---|---|---|
shortcut [get, set]
|
InputEvent | The shortcut's InputEvent .
Generally the InputEvent is a keyboard key, though it can be any InputEvent .
|
Methods
Name | Description |
---|---|
getAsText
|
Returns the shortcut's InputEvent as a String .
|
getShortcut
|
|
isShortcut
|
Returns true if the shortcut's InputEvent equals event .
|
isValid
|
If true , this shortcut is valid.
|
setShortcut
|