combo_box
This type represents a combo box control.
Value bits are toggled in order of selectables. That means if the first element is toggled, so will be the first bit, etc.
__call
Constructs the combo box.
Arguments
Name
Type
Description
Returns
Type
Description
combo_box
Combo box instance.
Example
local cb = gui.combo_box(gui.control_id('my_id'));
allow_multiple
Type: bool
If set to true
, the checkbox will be able to toggle multiple selectables.
get_value
Returns combo box' value.
Arguments
None.
Returns
Type
Description
Value data.
Example
local val = cb:get_value():get();
Last updated