setActive

open fun setActive(index: Int)

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

Parameters

index

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