set_active


Description:

[ Version ( since = "2.4" ) ]
public void set_active (int index_)

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

Note:

Use [class@Gtk.DropDown]

Parameters:

this

a `GtkComboBox`

index_

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