the fourth modifier key (it depends on the Windowing System configuration which key is interpreted as this modifier, but normally it is the Alt key).
the first mouse button.
the second mouse button.
the third mouse button.
the fourth mouse button.
the fifth mouse button.
the Control key.
the Hyper modifier.
a Lock key (depending on the Windowing System configuration, this may either be CapsLock or ShiftLock).
the Meta modifier. Maps to Command on macOS.
No modifier.
the Shift key.
the Super modifier.
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_MASKto remove all private values.