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 gtk.list_box.ListBox.selectedForeach to find all selected rows.

class ListBox
getSelectedRow
()

Return Value

Type: gtk.list_box_row.ListBoxRow

the selected row