GdkEventMask

GdkEventMask

Flags

Value

Symbolic name

Description

  0GDK_EXPOSURE_MASK Setting this flag allows the GDK_EXPOSE event to be captured by a widget's GdkWindow. This causes the widget to emit the "expose-event" signal.
  1GDK_POINTER_MOTION_MASK Setting this flag allows the GDK_MOTION_NOTIFY event to be captured by a widget's GdkWindow. This makes the widget emit the "motion-notify-event" signal.
  2GDK_POINTER_MOTION_HINT_MASK This is a special flag allowing a less intensive version of the GDK_POINTER_MOTION_MASK functionality. This can be necessary to avoid a time-lag in processing caused by the sheer volume of GDK_MOTION_NOTIFY events produced by mouse movement, each once of which causes a "motion-notify-event" signal to be fired by the widget.
  3GDK_BUTTON_MOTION_MASK Allows the GDK_MOTION_NOTIFY events to be picked up by the widget's GdkWindow only while a mouse-button (any) is pressed down. This is a way of limiting the widget's "motion-notify-event" signal emissions.
  4GDK_BUTTON1_MOTION_MASK Allows the GDK_MOTION_NOTIFY events to be picked up by the widget's GdkWindow only while mouse-button 1 is pressed down - usually that's the left button. This is a way of limiting the widget's "motion-notify-event" signal emissions.
  5GDK_BUTTON2_MOTION_MASK Allows the GDK_MOTION_NOTIFY events to be picked up by the widget's GdkWindow only while mouse-button 2 is pressed down - usually that's the center button, where it exists. This is a way of limiting the widget's "motion-notify-event" signal emissions.
  6GDK_BUTTON3_MOTION_MASK Allows the GDK_MOTION_NOTIFY events to be picked up by the widget's GdkWindow only while mouse-button 3 is pressed down - usually that's the right button. This is a way of limiting the widget's "motion-notify-event" signal emissions.
  7GDK_BUTTON_PRESS_MASK Setting this flag allows the GDK_BUTTON_PRESS events to be captured by a widget's GdkWindow. This makes the widget emit the "button-press-event" signal.
  8GDK_BUTTON_RELEASE_MASK Setting this flag allows the GDK_BUTTON_RELEASE event to be captured by a widget's GdkWindow. This makes the widget emit the "button-release-event" signal.
  9GDK_KEY_PRESS_MASK Setting this flag allows the GDK_KEY_PRESS event to be captured by a widget's GdkWindow. This makes the widget emit the "key-press-event" signal.
  10GDK_KEY_RELEASE_MASK Setting this flag allows the GDK_KEY_RELEASE event to be captured by a widget's GdkWindow. This makes the widget emit the "key-release-event" signal.
  11GDK_ENTER_NOTIFY_MASK Setting this flag allows the GDK_ENTER_NOTIFY event to be captured by a widget's GdkWindow. This causes the widget to emit the "enter-notify-event" signal.
  12GDK_LEAVE_NOTIFY_MASK Setting this flag allows the GDK_LEAVE_NOTIFY event to be captured by a widget's GdkWindow. This makes the widget emit the "leave-notify-event" signal.
  13GDK_FOCUS_CHANGE_MASK Setting this flag allows the GDK_FOCUS_CHANGE event to be captured by a widget's GdkWindow. This makes the widget emit the "focus-in-event" or "focus-out-event" signal as appropriate.
  14GDK_STRUCTURE_MASK This flag is set on all new instances of GdkWindow. It allows map, unmap, destroy and configure events to be captured, causing "map-event", "unmap-event", "destroy-event" and "configure-event" signals to be emitted from all windowed widgets.
  15GDK_PROPERTY_CHANGE_MASK Setting this flag allows the GDK_PROPERTY_NOTIFY event to be captured by a widget's GdkWindow. This makes the widget emit the "property-notify-event" signal.
  16GDK_VISIBILITY_NOTIFY_MASK Setting this flag allows the GDK_VISIBILITY_NOTIFY event to be captured by a widget's GdkWindow. This causes the widget to emit the "visibility-notify-event" signal.
  17GDK_PROXIMITY_IN_MASK Setting this flag allows the GDK_PROXIMITY_IN event to be captured by a widget's GdkWindow. This causes the widget to emit the "proximity-in-event" signal.
  18GDK_PROXIMITY_OUT_MASK Setting this flag allows the GDK_PROXIMITY_OUT event to be captured by a widget's GdkWindow. This makes the widget emit the "proximity-out-event" signal.
  19GDK_SUBSTRUCTURE_MASK Enables the widget's GdkWindow to capture GDK_STRUCTURE_MASK events on any child windows.
  20GDK_ALL_EVENTS_MASK Setting this flag allows any GdkEvent to be captured by a widget's GdkWindow.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.