Method

Gtk.ListBox.get_selected_row

Declaration [src]

GtkListBoxRow*
gtk_list_box_get_selected_row (
  GtkListBox* box
)

Description [src]

Gets the selected row, or NULL if no rows are selected.

Note that the box may allow multiple selection, in which case you should use gtk_list_box_selected_foreach() to find all selected rows.

Return value

Returns: GtkListBoxRow

the selected row or NULL

Ownership is not transferred to the caller
Can be NULL