Enumeration

GdkEventType

Declaration

enum Gdk.EventType

Description [src]

Specifies the type of the event.

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
  • Available since: 4.0
GDK_MOTION_NOTIFY

The pointer (usually a mouse) has moved.

  • Value: 1
  • Available since: 4.0
GDK_BUTTON_PRESS

A mouse button has been pressed.

  • Value: 2
  • Available since: 4.0
GDK_BUTTON_RELEASE

A mouse button has been released.

  • Value: 3
  • Available since: 4.0
GDK_KEY_PRESS

A key has been pressed.

  • Value: 4
  • Available since: 4.0
GDK_KEY_RELEASE

A key has been released.

  • Value: 5
  • Available since: 4.0
GDK_ENTER_NOTIFY

The pointer has entered the surface.

  • Value: 6
  • Available since: 4.0
GDK_LEAVE_NOTIFY

The pointer has left the surface.

  • Value: 7
  • Available since: 4.0
GDK_FOCUS_CHANGE

The keyboard focus has entered or left the surface.

  • Value: 8
  • 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
  • Available since: 4.0
GDK_PROXIMITY_OUT

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

  • Value: 10
  • Available since: 4.0
GDK_DRAG_ENTER

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

  • Value: 11
  • Available since: 4.0
GDK_DRAG_LEAVE

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

  • Value: 12
  • Available since: 4.0
GDK_DRAG_MOTION

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

  • Value: 13
  • Available since: 4.0
GDK_DROP_START

A drop operation onto the surface has started.

  • Value: 14
  • Available since: 4.0
GDK_SCROLL

The scroll wheel was turned.

  • Value: 15
  • Available since: 4.0
GDK_GRAB_BROKEN

A pointer or keyboard grab was broken.

  • Value: 16
  • Available since: 4.0
GDK_TOUCH_BEGIN

A new touch event sequence has just started.

  • Value: 17
  • Available since: 4.0
GDK_TOUCH_UPDATE

A touch event sequence has been updated.

  • Value: 18
  • Available since: 4.0
GDK_TOUCH_END

A touch event sequence has finished.

  • Value: 19
  • Available since: 4.0
GDK_TOUCH_CANCEL

A touch event sequence has been canceled.

  • Value: 20
  • Available since: 4.0
GDK_TOUCHPAD_SWIPE

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

  • Value: 21
  • Available since: 4.0
GDK_TOUCHPAD_PINCH

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

  • Value: 22
  • Available since: 4.0
GDK_PAD_BUTTON_PRESS

A tablet pad button press event.

  • Value: 23
  • Available since: 4.0
GDK_PAD_BUTTON_RELEASE

A tablet pad button release event.

  • Value: 24
  • Available since: 4.0
GDK_PAD_RING

A tablet pad axis event from a “ring”.

  • Value: 25
  • Available since: 4.0
GDK_PAD_STRIP

A tablet pad axis event from a “strip”.

  • Value: 26
  • Available since: 4.0
GDK_PAD_GROUP_MODE

A tablet pad group mode change.

  • Value: 27
  • Available since: 4.0
GDK_TOUCHPAD_HOLD

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

  • Value: 28
  • Available since: 4.6
GDK_EVENT_LAST

Marks the end of the GdkEventType enumeration.

  • Value: 29
  • Available since: 4.0