Used to control what selections users are allowed to make.
(define-g-enum "GtkSelectionMode" gtk-selection-mode
(:export t
:type-initializer "gtk_selection_mode_get_type")
(:none 0)
(:single 1)
(:browse 2)
(:multiple 3))
- :none
- No selection is possible.
- :single
- Zero or one element may be selected.
- :browse
- Exactly one element is selected. In some circumstances, such
as initially or during a search operation, it is possible for no element to be selected with the :browse value. What is really enforced is
that the user cannot deselect a currently selected element except by selecting another element.
- :multiple
- Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and the 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.