5.6 <GdkModifierType>

Flags: <GdkModifierType>

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.

Members

no-modifier-mask

No modifier.

shift-mask

the Shift key.

lock-mask

a Lock key (depending on the Windowing System configuration, this may either be CapsLock or ShiftLock).

control-mask

the Control key.

alt-mask

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).

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.

super-mask

the Super modifier.

hyper-mask

the Hyper modifier.

meta-mask

the Meta modifier. Maps to Command on macOS.