### Enumeration

# Gdk EventType

since: 4.0

#### Declaration

    enum Gdk.EventType

#### Description [src]

Specifies the type of the event.

Available since: 4.0

#### Members

`GDK_DELETE`

  The window manager has requested that the toplevel surface be hidden or destroyed, usually when the user clicks on a special icon in the title bar.

  - Value: `0`
  - Nickname: `delete`
  - Available since: 4.0
`GDK_MOTION_NOTIFY`

  The pointer (usually a mouse) has moved.

  - Value: `1`
  - Nickname: `motion-notify`
  - Available since: 4.0
`GDK_BUTTON_PRESS`

  A mouse button has been pressed.

  - Value: `2`
  - Nickname: `button-press`
  - Available since: 4.0
`GDK_BUTTON_RELEASE`

  A mouse button has been released.

  - Value: `3`
  - Nickname: `button-release`
  - Available since: 4.0
`GDK_KEY_PRESS`

  A key has been pressed.

  - Value: `4`
  - Nickname: `key-press`
  - Available since: 4.0
`GDK_KEY_RELEASE`

  A key has been released.

  - Value: `5`
  - Nickname: `key-release`
  - Available since: 4.0
`GDK_ENTER_NOTIFY`

  The pointer has entered the surface.

  - Value: `6`
  - Nickname: `enter-notify`
  - Available since: 4.0
`GDK_LEAVE_NOTIFY`

  The pointer has left the surface.

  - Value: `7`
  - Nickname: `leave-notify`
  - Available since: 4.0
`GDK_FOCUS_CHANGE`

  The keyboard focus has entered or left the surface.

  - Value: `8`
  - Nickname: `focus-change`
  - Available since: 4.0
`GDK_PROXIMITY_IN`

  An input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).

  - Value: `9`
  - Nickname: `proximity-in`
  - Available since: 4.0
`GDK_PROXIMITY_OUT`

  An input device has moved out of contact with a sensing surface.

  - Value: `10`
  - Nickname: `proximity-out`
  - Available since: 4.0
`GDK_DRAG_ENTER`

  The mouse has entered the surface while a drag is in progress.

  - Value: `11`
  - Nickname: `drag-enter`
  - Available since: 4.0
`GDK_DRAG_LEAVE`

  The mouse has left the surface while a drag is in progress.

  - Value: `12`
  - Nickname: `drag-leave`
  - Available since: 4.0
`GDK_DRAG_MOTION`

  The mouse has moved in the surface while a drag is in progress.

  - Value: `13`
  - Nickname: `drag-motion`
  - Available since: 4.0
`GDK_DROP_START`

  A drop operation onto the surface has started.

  - Value: `14`
  - Nickname: `drop-start`
  - Available since: 4.0
`GDK_SCROLL`

  The scroll wheel was turned.

  - Value: `15`
  - Nickname: `scroll`
  - Available since: 4.0
`GDK_GRAB_BROKEN`

  A pointer or keyboard grab was broken.

  - Value: `16`
  - Nickname: `grab-broken`
  - Available since: 4.0
`GDK_TOUCH_BEGIN`

  A new touch event sequence has just started.

  - Value: `17`
  - Nickname: `touch-begin`
  - Available since: 4.0
`GDK_TOUCH_UPDATE`

  A touch event sequence has been updated.

  - Value: `18`
  - Nickname: `touch-update`
  - Available since: 4.0
`GDK_TOUCH_END`

  A touch event sequence has finished.

  - Value: `19`
  - Nickname: `touch-end`
  - Available since: 4.0
`GDK_TOUCH_CANCEL`

  A touch event sequence has been canceled.

  - Value: `20`
  - Nickname: `touch-cancel`
  - Available since: 4.0
`GDK_TOUCHPAD_SWIPE`

  A touchpad swipe gesture event, the current state is determined by its phase field.

  - Value: `21`
  - Nickname: `touchpad-swipe`
  - Available since: 4.0
`GDK_TOUCHPAD_PINCH`

  A touchpad pinch gesture event, the current state is determined by its phase field.

  - Value: `22`
  - Nickname: `touchpad-pinch`
  - Available since: 4.0
`GDK_PAD_BUTTON_PRESS`

  A tablet pad button press event.

  - Value: `23`
  - Nickname: `pad-button-press`
  - Available since: 4.0
`GDK_PAD_BUTTON_RELEASE`

  A tablet pad button release event.

  - Value: `24`
  - Nickname: `pad-button-release`
  - Available since: 4.0
`GDK_PAD_RING`

  A tablet pad axis event from a “ring”.

  - Value: `25`
  - Nickname: `pad-ring`
  - Available since: 4.0
`GDK_PAD_STRIP`

  A tablet pad axis event from a “strip”.

  - Value: `26`
  - Nickname: `pad-strip`
  - Available since: 4.0
`GDK_PAD_GROUP_MODE`

  A tablet pad group mode change.

  - Value: `27`
  - Nickname: `pad-group-mode`
  - Available since: 4.0
`GDK_TOUCHPAD_HOLD`

  A touchpad hold gesture event, the current state is determined by its phase field.

  - Value: `28`
  - Nickname: `touchpad-hold`
  - Available since: 4.6
`GDK_EVENT_LAST`

  Marks the end of the GdkEventType enumeration.

  - Value: `29`
  - Nickname: `event-last`
  - Available since: 4.0