void set_active(int index);

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

The set_active() method sets the active item of the combo_box to the item with the model index specified by index. If index is -1 the combo box will have no active item. The "active" property is also set to the value of index.

See also: get_active()