setCanUnselect

open fun setCanUnselect(canUnselect: Boolean)

If true, unselecting the current item via gtk_selection_model_unselect_item() is supported.

Note that setting property@Gtk.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