Struct Shortcut
Keyboard shortcut (key + modifiers)
struct Shortcut
Fields
Type | Name | Description |
---|---|---|
key
|
Key code from Key enum
|
|
modifiers
|
Key modifiers bit set |
Properties
Type | Name | Description |
---|---|---|
dstring |
label [get]
|
Get shortcut text description. For serialization use toString instead
|
Methods
Name | Description |
---|---|
parse
(s)
|
Parse shortcut from a string |
toString
()
|
Serialize accelerator text description |