ComboBox
A button that, when clicked, opens a popup to select a value.
Properties
current-index
: (in-out int): The index of the selected value (-1 if no value is selected)current-value
: (in-out string): The currently selected textenabled
: (in bool): Defaults to true. When false, the combobox can’t be interacted withhas-focus
: (out bool): Set to true when the combobox has keyboard focus.model
(in [string]): The list of possible values
Callbacks
selected(string)
: A value was selected from the combo box. The argument is the currently selected value.