Method

GtkComboBoxset_active

since: 2.4

Declaration [src]

void
gtk_combo_box_set_active (
  GtkComboBox* combo_box,
  gint index_
)

Description [src]

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

Available since: 2.4

Sets propertyGtk.ComboBox:active

Parameters

index_

Type: gint

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