combo_box_t
Getters¶
get¶
combobox:get():
number
is_visible¶
combobox:is_visible():
boolean
get_label¶
combobox:get_label():
string
Setters¶
set¶
combobox:set(value: number)
Name | Type | Description |
---|---|---|
value | number |
New combo box value (corresponds to the index of the item) |
set_items¶
combobox:set_items(items: string[])
Name | Type | Description |
---|---|---|
items | string[] |
New combo box items |
set_visible¶
combobox:set_visible(visibility: boolean)
Name | Type | Description |
---|---|---|
visibility | boolean |
Will the element be visible |
set_label¶
combobox:set_label(label: string)
Name | Type | Description |
---|---|---|
label | string |
The new label |