SingleSelection.setCanUnselect
void setCanUnselect(bool canUnselect)If true, unselecting the current item via [gtk.selection_model.SelectionModel.unselectItem] is supported.
Note that setting [gtk.single_selection.SingleSelection.autoselect] will cause unselecting to not work, so it practically makes no sense to set both at the same time the same time.
Parameters
canUnselect | true to allow unselecting |