ComboBox.getSelected

Get the index of the selected value from the current widget's list values.

class ComboBox
int
getSelected
()

Return Value

Type: int

The index of the selected list value. Indexes start at 0 and -1 is returned if the current value does not appear in the list.

Meta