GtkSingleSelection

gtk.single_selection.SingleSelection is a gtk.selection_model.SelectionModel that allows selecting a single item.

Note that the selection is *persistent* -- if the selected item is removed and re-added in the same signal@Gio.ListModel::items-changed emission, it stays selected. In particular, this means that changing the sort order of an underlying sort model will preserve the selection.

struct GtkSingleSelection