ComboBox.setActive

void setActive(int index)

Sets the active item of combo_box to be the item at index.

Parameters

indexAn index in the model passed during construction, or -1 to have no active item