Package: gdk
GFlags gdk:modifier-type
Declaration(gobject:define-gflags "GdkModifierType" modifier-type (:export t :type-initializer "gdk_modifier_type_get_type") #-gtk-4-14 (:none 0) #+gtk-4-14 (:no-modifier-mask 0) (:shift-mask #.(ash 1 0)) (:lock-mask #.(ash 1 1)) (:control-mask #.(ash 1 2)) (:alt-mask #.(ash 1 3)) (:button1-mask #.(ash 1 8)) (:button2-mask #.(ash 1 9)) (:button3-mask #.(ash 1 10)) (:button4-mask #.(ash 1 11)) (:button5-mask #.(ash 1 12)) (:super-mask #.(ash 1 26)) (:hyper-mask #.(ash 1 27)) (:meta-mask #.(ash 1 28))) Values
Details
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 keys. Note that GDK may add internal values to events which include values outside this enumeration. Your code should preserve and ignore them. You can use the gdk:+modifier-mask+ value to remove all private values. | See also |
2024-5-25