Enumeration (GI Enum)

Gdk-4.0GdkEventType

Specifies the type of the event.

Index
BUTTON_PRESS: 2

a mouse button has been pressed.

BUTTON_RELEASE: 3

a mouse button has been released.

DELETE: 0

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.

DRAG_ENTER: 11

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

DRAG_LEAVE: 12

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

DRAG_MOTION: 13

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

DROP_START: 14

a drop operation onto the surface has started.

ENTER_NOTIFY: 6

the pointer has entered the surface.

EVENT_LAST: 30

marks the end of the GdkEventType enumeration.

FOCUS_CHANGE: 8

the keyboard focus has entered or left the surface.

GRAB_BROKEN: 16

a pointer or keyboard grab was broken.

KEY_PRESS: 4

a key has been pressed.

KEY_RELEASE: 5

a key has been released.

LEAVE_NOTIFY: 7

the pointer has left the surface.

MOTION_NOTIFY: 1

the pointer (usually a mouse) has moved.

PAD_BUTTON_PRESS: 23

A tablet pad button press event.

PAD_BUTTON_RELEASE: 24

A tablet pad button release event.

PAD_DIAL: 29

A tablet pad axis event from a "dial".

PAD_GROUP_MODE: 27

A tablet pad group mode change.

PAD_RING: 25

A tablet pad axis event from a "ring".

PAD_STRIP: 26

A tablet pad axis event from a "strip".

PROXIMITY_IN: 9

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

PROXIMITY_OUT: 10

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

SCROLL: 15

the scroll wheel was turned

TOUCH_BEGIN: 17

A new touch event sequence has just started.

TOUCH_CANCEL: 20

A touch event sequence has been canceled.

TOUCH_END: 19

A touch event sequence has finished.

TOUCH_UPDATE: 18

A touch event sequence has been updated.

TOUCHPAD_HOLD: 28

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

4.6

TOUCHPAD_PINCH: 22

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

TOUCHPAD_SWIPE: 21

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

Variables

$gtype