If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this property has the value gtk_tree_path_get_indices (path)[0], where path is the [gtk.tree_path.TreePath] of the active item.
ComboBox.active
int active() @propertyGet active property.
Returns
The item which is currently active.
void active(int propval) @propertySet active property.
Parameters
propval | The item which is currently active. If the model is a non-flat treemodel, and the active item is not an immediate child of the root of the tree, this property has the value gtk_tree_path_get_indices (path)[0], where path is the [gtk.tree_path.TreePath] of the active item. |