ModifierIntent
Description:
[ CCode ( cprefix = "GDK_MODIFIER_INTENT_" , type_id = "gdk_modifier_intent_get_type ()" ) ]
[ Version ( since = "3.4" ) ]
public enum ModifierIntent
This enum is used with get_modifier_mask in order to determine what
modifiers the currently used windowing system backend uses for particular purposes.
For example, on X11/Windows, the Control key is used for invoking menu shortcuts (accelerators), whereas on Apple computers it’s the
Command key (which correspond to gdk_control_mask and gdk_mod2_mask,
respectively).
Content:
Enum values:
- CONTEXT_MENU - the modifier used to
invoke context menus.
- DEFAULT_MOD_MASK - The set of
modifier masks accepted as modifiers in accelerators.
- EXTEND_SELECTION - the modifier
used to extend selections using `modifier`-click or `modifier`-cursor-key
- MODIFY_SELECTION - the modifier
used to modify selections, which in most cases means toggling the clicked item into or out of the selection.
- NO_TEXT_INPUT - when any of these
modifiers is pressed, the key event cannot produce a symbol directly.
- PRIMARY_ACCELERATOR - the
primary modifier used to invoke menu accelerators.
- SHIFT_GROUP - the modifier that
switches between keyboard groups (AltGr on X11/Windows and Option/Alt on OS X).