:right-sidebar: True ModifierType =================================================================== .. currentmodule:: gi.repository.Gdk .. class:: ModifierType :no-contents-entry: 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 :const:`~gi.repository.Gdk.MODIFIER_MASK` to remove all private values. Fields ------ .. rst-class:: interim-class .. class:: ModifierType :no-index: .. attribute:: ALT_MASK The type of the None singleton. .. attribute:: BUTTON1_MASK The type of the None singleton. .. attribute:: BUTTON2_MASK The type of the None singleton. .. attribute:: BUTTON3_MASK The type of the None singleton. .. attribute:: BUTTON4_MASK The type of the None singleton. .. attribute:: BUTTON5_MASK The type of the None singleton. .. attribute:: CONTROL_MASK The type of the None singleton. .. attribute:: HYPER_MASK The type of the None singleton. .. attribute:: LOCK_MASK The type of the None singleton. .. attribute:: META_MASK The type of the None singleton. .. attribute:: NO_MODIFIER_MASK The type of the None singleton. .. versionadded:: 4.14 .. attribute:: SHIFT_MASK The type of the None singleton. .. attribute:: SUPER_MASK The type of the None singleton.