Gjsify LogoGjsify Logo

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_2BUTTON_PRESS and %GDK_3BUTTON_PRESS 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_DOUBLE_BUTTON_PRESS and %GDK_TRIPLE_BUTTON_PRESS can be used instead.

Index

Enumeration Members

BUTTON_PRESS: number

a mouse button has been pressed.

BUTTON_RELEASE: number

a mouse button has been released.

CLIENT_EVENT: number

a message has been received from another application.

CONFIGURE: number

the size, position or stacking order of the window has changed. Note that GTK+ discards these events for %GDK_WINDOW_CHILD windows.

DAMAGE: number

the content of the window has been changed. This event type was added in 2.14.

DELETE: number

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.

DESTROY: number

the window has been destroyed.

DOUBLE_BUTTON_PRESS: number

alias for %GDK_2BUTTON_PRESS, added in 3.6.

DRAG_ENTER: number

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

DRAG_LEAVE: number

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

DRAG_MOTION: number

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

DRAG_STATUS: number

the status of the drag operation initiated by the window has changed.

DROP_FINISHED: number

the drop operation initiated by the window has completed.

DROP_START: number

a drop operation onto the window has started.

ENTER_NOTIFY: number

the pointer has entered the window.

EVENT_LAST: number

marks the end of the GdkEventType enumeration. Added in 2.18

EXPOSE: number

all or part of the window has become visible and needs to be redrawn.

FOCUS_CHANGE: number

the keyboard focus has entered or left the window.

GRAB_BROKEN: number

a pointer or keyboard grab was broken. This event type was added in 2.8.

KEY_PRESS: number

a key has been pressed.

KEY_RELEASE: number

a key has been released.

LEAVE_NOTIFY: number

the pointer has left the window.

MAP: number

the window has been mapped.

MOTION_NOTIFY: number

the pointer (usually a mouse) has moved.

NOTHING: number

a special code to indicate a null event.

OWNER_CHANGE: number

the owner of a selection has changed. This event type was added in 2.6

PAD_BUTTON_PRESS: number

A tablet pad button press event. This event type was added in 3.22.

PAD_BUTTON_RELEASE: number

A tablet pad button release event. This event type was added in 3.22.

PAD_GROUP_MODE: number

A tablet pad group mode change. This event type was added in 3.22.

PAD_RING: number

A tablet pad axis event from a "ring". This event type was added in 3.22.

PAD_STRIP: number

A tablet pad axis event from a "strip". This event type was added in 3.22.

PROPERTY_NOTIFY: number

a property on the window has been changed or deleted.

PROXIMITY_IN: number

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

PROXIMITY_OUT: number

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

SCROLL: number

the scroll wheel was turned

SELECTION_CLEAR: number

the application has lost ownership of a selection.

SELECTION_NOTIFY: number

a selection has been received.

SELECTION_REQUEST: number

another application has requested a selection.

SETTING: number

a setting has been modified.

TODO_2BUTTON_PRESS: number

a mouse button has been double-clicked (clicked twice within a short period of time). Note that each click also generates a %GDK_BUTTON_PRESS event.

TODO_3BUTTON_PRESS: number

a mouse button has been clicked 3 times in a short period of time. Note that each click also generates a %GDK_BUTTON_PRESS event.

TOUCHPAD_PINCH: number

A touchpad pinch gesture event, the current state is determined by its phase field. This event type was added in 3.18.

TOUCHPAD_SWIPE: number

A touchpad swipe gesture event, the current state is determined by its phase field. This event type was added in 3.18.

TOUCH_BEGIN: number

A new touch event sequence has just started. This event type was added in 3.4.

TOUCH_CANCEL: number

A touch event sequence has been canceled. This event type was added in 3.4.

TOUCH_END: number

A touch event sequence has finished. This event type was added in 3.4.

TOUCH_UPDATE: number

A touch event sequence has been updated. This event type was added in 3.4.

TRIPLE_BUTTON_PRESS: number

alias for %GDK_3BUTTON_PRESS, added in 3.6.

UNMAP: number

the window has been unmapped.

VISIBILITY_NOTIFY: number

the window visibility status has changed.

WINDOW_STATE: number

the state of a window has changed. See #GdkWindowState for the possible window states

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method