:right-sidebar: True SelectionMode =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: SelectionMode :no-contents-entry: Used to control what selections users are allowed to make. Fields ------ .. rst-class:: interim-class .. class:: SelectionMode :no-index: .. attribute:: BROWSE Exactly one element is selected. In some circumstances, such as initially or during a search operation, it’s possible for no element to be selected with :const:`~gi.repository.Gtk.SelectionMode.BROWSE`. What is really enforced is that the user can’t deselect a currently selected element except by selecting another element. .. attribute:: MULTIPLE Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements. .. attribute:: NONE No selection is possible. .. attribute:: SINGLE Zero or one element may be selected.