ModifierType
- class 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
MODIFIER_MASK
to remove all private values.
Fields
- class ModifierType
- ALT_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).
- 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 modifier mapping of the X server this may either be CapsLock or ShiftLock).
- META_MASK
The Meta modifier
- NO_MODIFIER_MASK
No modifier.
Added in version 4.14.
- SHIFT_MASK
The Shift key.
- SUPER_MASK
The Super modifier