ModifierType
Description:
[ CCode ( cprefix = "GDK_" , type_id = "gdk_modifier_type_get_type ()" ) ]
[ Flags ]
public enum ModifierType
Flags to indicate the state of modifier keys and mouse buttons in events.
Typical modifier keys are Shift, Control, Meta, Super, Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
Note that GDK may add internal values to events which include values outside of this enumeration. Your code should preserve and ignore
them. You can use gdk_modifier_mask to remove all private values.
Content:
Enum values:
- BUTTON1_MASK - the first mouse
button.
- BUTTON2_MASK - the second mouse
button.
- BUTTON3_MASK - the third mouse
button.
- BUTTON4_MASK - the fourth mouse
button.
- BUTTON5_MASK - the fifth mouse
button.
- CONTROL_MASK - the Control key.
- HYPER_MASK - the Hyper modifier.
- LOCK_MASK - a Lock key (depending on the
Windowing System configuration, this may either be <kbd>CapsLock</kbd> or <kbd>ShiftLock</kbd>).
- META_MASK - the Meta modifier.
- MOD1_MASK - the fourth modifier key (it
depends on the modifier mapping of the X server which key is interpreted as this modifier, but normally it is the Alt key).
- MOD2_MASK - the fifth modifier key (it
depends on the modifier mapping of the X server which key is interpreted as this modifier).
- MOD3_MASK - the sixth modifier key (it
depends on the modifier mapping of the X server which key is interpreted as this modifier).
- MOD4_MASK - the seventh modifier key (it
depends on the modifier mapping of the X server which key is interpreted as this modifier).
- MOD5_MASK - the eighth modifier key (it
depends on the modifier mapping of the X server which key is interpreted as this modifier).
- MODIFIER_MASK - A mask covering all
entries in `GdkModifierType`.
- RELEASE_MASK - not used in GDK
itself.
- SHIFT_MASK - the Shift key.
- SUPER_MASK - the Super modifier.