ComboBox.active

Get active property.

  1. int active [@property getter]
    class ComboBox
    @property
    int
    active
    ()
  2. int active [@property setter]

Return Value

Type: int

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.