A set of bit-flags to indicate which events a window is to receive. Most of these masks map onto one or more of the
Gdk.EventType event types above.
Syntax
[GLib.GType(typeof(Gdk.EventMaskGType))]
[System.Flags]
public enum EventMask
Remarks
Members
| Member Name | Description |
|---|
| ExposureMask | Receive expose events. |
| PointerMotionMask | Receive all pointer motion events. |
| PointerMotionHintMask | Special mask which is used to reduce the number of Gdk.EventMask.MotionNotify events received |
| ButtonMotionMask | Receive pointer motion events while any button is pressed. |
| Button1MotionMask | Receive pointer motion events while 1 button is pressed. |
| Button2MotionMask | Receive pointer motion events while 2 button is pressed. |
| Button3MotionMask | Receive pointer motion events while 3 button is pressed. |
| ButtonPressMask | Receive button press events. |
| ButtonReleaseMask | Receive button release events. |
| KeyPressMask | Receive key press events. |
| KeyReleaseMask | Receive key release events. |
| EnterNotifyMask | Receive window enter events. |
| LeaveNotifyMask | Receive window leave events. |
| FocusChangeMask | Receive focus change events. |
| StructureMask | Receive events about window configuration change. |
| PropertyChangeMask | Receive property change events. |
| VisibilityNotifyMask | Receive visibility change events. |
| ProximityInMask | Receive proximity in events. |
| ProximityOutMask | Receive proximity out events. |
| SubstructureMask | Receive events about window configuration changes of child windows. |
| ScrollMask | Receive scroll events. |
| AllEventsMask | The combination of all the above event masks. |
Requirements
Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)
Assembly Versions: 2.12.0.0