ListBox.getSelectedRow

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 [method@Gtk.ListBox.selected_foreach] to find all selected rows.

class ListBox
getSelectedRow
()

Return Value

the selected row or %NULL

Meta