combo_box

This type represents a combo box control.

circle-info

This type inherits control_container type. All of its base methods and fields are also available in this type.

circle-info

add method expects an instance of selectable. Passing other control types will not add them to the list.

circle-check

__call

Constructor

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

Field

Type: bool

If set to true, the checkbox will be able to toggle multiple selectables.


get_value

Method

Returns combo box' value.

Arguments

None.

Returns

Type

Description

Example

Last updated