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.

Returns

the selected row