ComboBox.active

int active() @property

Get active property.

Returns

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.

void active(int propval) @property

Set active property.

Parameters

propvalThe 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.