button_t
Main functions¶
execute¶
button:execute()
Executes the set callback
Getters¶
is_visible¶
button:is_visible():
boolean
get_label¶
button:get_label():
string
Setters¶
set_visible¶
button:set_visible(visibility: boolean)
Name | Type | Description |
---|---|---|
visibility | boolean |
Will the element be visible |
set_label¶
button:set_label(label: string)
Name | Type | Description |
---|---|---|
label | string |
The new label |