ComboBox.active

Set active property.

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

Parameters

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