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.
no-modifier-maskNo modifier.
shift-maskthe Shift key.
lock-maska Lock key (depending on the Windowing System configuration, this may either be CapsLock or ShiftLock).
control-maskthe Control key.
alt-maskthe fourth modifier key (it depends on the Windowing System configuration which key is interpreted as this modifier, but normally it is the Alt key).
button1-maskthe first mouse button.
button2-maskthe second mouse button.
button3-maskthe third mouse button.
button4-maskthe fourth mouse button.
button5-maskthe fifth mouse button.
super-maskthe Super modifier.
hyper-maskthe Hyper modifier.
meta-maskthe Meta modifier. Maps to Command on macOS.