SingleSelection.getSelected

uint getSelected()

Gets the position of the selected item.

If no item is selected, gtk.types.INVALID_LIST_POSITION is returned.

Returns

The position of the selected item