key_bind_t
Getters¶
is_active¶
keybind:is_active():
boolean
get_key¶
keybind:get_key():
number
get_type¶
keybind:get_type():
number
get_display_in_list¶
keybind:get_display_in_list():
boolean
is_visible¶
keybind:is_visible():
boolean
get_label¶
keybind:get_label():
string
Setters¶
set_type¶
keybind:set_type(type: number)
Name | Type | Description |
---|---|---|
type | number |
Type to set the key bind to |
set_key¶
keybind:set_key(key: number)
Name | Type | Description |
---|---|---|
key | number |
Key which will be used to activate the key bind |
set_display_in_list¶
keybind:set_display_in_list(display_in_list: boolean)
Name | Type | Description |
---|---|---|
display_in_list | boolean |
Display or hide the keybind in the active binds list |
set_visible¶
keybind:set_visible(visibility: boolean)
Name | Type | Description |
---|---|---|
visibility | boolean |
Will the element be visible |
set_label¶
keybind:set_label(label: string)
Name | Type | Description |
---|---|---|
label | string |
The new label |