Method

GtkComboBoxget_active_iter

since: 2.4

Declaration [src]

gboolean
gtk_combo_box_get_active_iter (
  GtkComboBox* combo_box,
  GtkTreeIter* iter
)

Description [src]

Sets iter to point to the currently active item, if any item is active. Otherwise, iter is left unchanged.

Available since: 2.4

Parameters

iter

Type: GtkTreeIter

A GtkTreeIter.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: gboolean

TRUE if iter was set, FALSE otherwise.