Value | Meaning |
---|---|
None0 | |
ShiftMask1 | the Shift key. |
LockMask2 | |
ControlMask4 | the Control key. |
Mod1Mask8 | the third modifier key |
Mod2Mask16 | the fourth modifier key |
Mod3Mask32 | the fifth modifier key |
Mod4Mask64 | the sixth modifier key |
Mod5Mask128 | the seventh modifier key |
Button1Mask256 | the first mouse button (usually the left button). |
Button2Mask512 | the second mouse button (usually the right button). |
Button3Mask1024 | the third mouse button (usually the mouse wheel button or middle button). |
Button4Mask2048 | the fourth mouse button (typically the "Back" button). |
Button5Mask4096 | the fifth mouse button (typically the "forward" button). |
SuperMask67108864 | the Super modifier |
HyperMask134217728 | the Hyper modifier |
MetaMask268435456 | the Meta modifier |
Mask469770239 | A mask covering all entries in #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.