| Value | Meaning |
|---|---|
| Nothing-1 | a special code to indicate a null event. |
| Delete0 | the window manager has requested that the toplevel window be hidden or destroyed, usually when the user clicks on a special icon in the title bar. |
| Destroy1 | the window has been destroyed. |
| Expose2 | all or part of the window has become visible and needs to be redrawn. |
| MotionNotify3 | the pointer (usually a mouse) has moved. |
| ButtonPress4 | a mouse button has been pressed. |
| _2buttonPress5 | a mouse button has been double-clicked (clicked twice within a short period of time). Note that each click also generates a gdk.types.EventType.ButtonPress event. |
| DoubleButtonPress5 | alias for gdk.types.EventType._2buttonPress, added in 3.6. |
| _3buttonPress6 | a mouse button has been clicked 3 times in a short period of time. Note that each click also generates a gdk.types.EventType.ButtonPress event. |
| TripleButtonPress6 | alias for gdk.types.EventType._3buttonPress, added in 3.6. |
| ButtonRelease7 | a mouse button has been released. |
| KeyPress8 | a key has been pressed. |
| KeyRelease9 | a key has been released. |
| EnterNotify10 | the pointer has entered the window. |
| LeaveNotify11 | the pointer has left the window. |
| FocusChange12 | the keyboard focus has entered or left the window. |
| Configure13 | the size, position or stacking order of the window has changed. Note that GTK+ discards these events for gdk.types.WindowType.Child windows. |
| Map14 | the window has been mapped. |
| Unmap15 | the window has been unmapped. |
| PropertyNotify16 | a property on the window has been changed or deleted. |
| SelectionClear17 | the application has lost ownership of a selection. |
| SelectionRequest18 | another application has requested a selection. |
| SelectionNotify19 | a selection has been received. |
| ProximityIn20 | an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet). |
| ProximityOut21 | an input device has moved out of contact with a sensing surface. |
| DragEnter22 | the mouse has entered the window while a drag is in progress. |
| DragLeave23 | the mouse has left the window while a drag is in progress. |
| DragMotion24 | the mouse has moved in the window while a drag is in progress. |
| DragStatus25 | the status of the drag operation initiated by the window has changed. |
| DropStart26 | a drop operation onto the window has started. |
| DropFinished27 | the drop operation initiated by the window has completed. |
| ClientEvent28 | a message has been received from another application. |
| VisibilityNotify29 | the window visibility status has changed. |
| Scroll31 | the scroll wheel was turned |
| WindowState32 | the state of a window has changed. See #GdkWindowState for the possible window states |
| Setting33 | a setting has been modified. |
| OwnerChange34 | the owner of a selection has changed. This event type was added in 2.6 |
| GrabBroken35 | a pointer or keyboard grab was broken. This event type was added in 2.8. |
| Damage36 | the content of the window has been changed. This event type was added in 2.14. |
| TouchBegin37 | A new touch event sequence has just started. This event type was added in 3.4. |
| TouchUpdate38 | A touch event sequence has been updated. This event type was added in 3.4. |
| TouchEnd39 | A touch event sequence has finished. This event type was added in 3.4. |
| TouchCancel40 | A touch event sequence has been canceled. This event type was added in 3.4. |
| TouchpadSwipe41 | A touchpad swipe gesture event, the current state is determined by its phase field. This event type was added in 3.18. |
| TouchpadPinch42 | A touchpad pinch gesture event, the current state is determined by its phase field. This event type was added in 3.18. |
| PadButtonPress43 | A tablet pad button press event. This event type was added in 3.22. |
| PadButtonRelease44 | A tablet pad button release event. This event type was added in 3.22. |
| PadRing45 | A tablet pad axis event from a "ring". This event type was added in 3.22. |
| PadStrip46 | A tablet pad axis event from a "strip". This event type was added in 3.22. |
| PadGroupMode47 | A tablet pad group mode change. This event type was added in 3.22. |
| EventLast48 | marks the end of the GdkEventType enumeration. Added in 2.18 |
Specifies the type of the event.
Do not confuse these events with the signals that GTK+ widgets emit. Although many of these events result in corresponding signals being emitted, the events are often transformed or filtered along the way.
In some language bindings, the values gdk.types.EventType._2buttonPress and gdk.types.EventType._3buttonPress would translate into something syntactically invalid (eg Gdk.EventType.2ButtonPress, where a symbol is not allowed to start with a number). In that case, the aliases gdk.types.EventType.DoubleButtonPress and gdk.types.EventType.TripleButtonPress can be used instead.