Property

GtkComboBox:active

Declaration

property active: int [ read, write ]

Description [src]

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 GtkTreePath of the active item.

Type:gint

Default value-1
Getter methodgtk_combo_box_get_active()
Setter methodgtk_combo_box_set_active()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno