GtkComboBox::get_active
Returns an integer which is the model index of the currently active item, or -1 if there's no active item.
The get_active() method returns the value of the "active" property which is the index in the model of the currently active item, or -1 if there's no active item.
See also: set_active()