SingleSelection.getCanUnselect

bool getCanUnselect()

If true, gtk.selection_model.SelectionModel.unselectItem is supported and allows unselecting the selected item.

Returns

true to support unselecting