EventType
Description:
[ CCode ( cprefix = "GDK_" , type_id = "gdk_event_type_get_type ()" ) ]
public enum EventType
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.
Content:
Enum values:
- @2BUTTON_PRESS - a mouse button has
been double-clicked (clicked twice within a short period of time).
- @3BUTTON_PRESS - a mouse button has
been clicked 3 times in a short period of time.
- BUTTON_PRESS - a mouse button has
been pressed.
- BUTTON_RELEASE - a mouse button has
been released.
- CLIENT_EVENT - a message has been
received from another application.
- CONFIGURE - the size, position or
stacking order of the window has changed.
- DAMAGE - the content of the window has been
changed.
- DELETE - 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 - the window has been destroyed.
- DOUBLE_BUTTON_PRESS - alias
for gdk_2button_press, added in 3.6.
- DRAG_ENTER - the mouse has entered the
window while a drag is in progress.
- DRAG_LEAVE - the mouse has left the
window while a drag is in progress.
- DRAG_MOTION - the mouse has moved in
the window while a drag is in progress.
- DRAG_STATUS - the status of the drag
operation initiated by the window has changed.
- DROP_FINISHED - the drop operation
initiated by the window has completed.
- DROP_START - a drop operation onto the
window has started.
- ENTER_NOTIFY - the pointer has
entered the window.
- EVENT_LAST - marks the end of the
GdkEventType enumeration.
- EXPOSE - all or part of the window has
become visible and needs to be redrawn.
- FOCUS_CHANGE - the keyboard focus has
entered or left the window.
- GRAB_BROKEN - a pointer or keyboard
grab was broken.
- KEY_PRESS - a key has been pressed.
- KEY_RELEASE - a key has been released.
- LEAVE_NOTIFY - the pointer has left
the window.
- MAP - the window has been mapped.
- MOTION_NOTIFY - the pointer (usually
a mouse) has moved.
- NOTHING - a special code to indicate a
null event.
- OWNER_CHANGE - the owner of a
selection has changed.
- PAD_BUTTON_PRESS - A tablet pad
button press event.
- PAD_BUTTON_RELEASE - A tablet
pad button release event.
- PAD_GROUP_MODE - A tablet pad group
mode change.
- PAD_RING - A tablet pad axis event from a
"ring".
- PAD_STRIP - A tablet pad axis event from
a "strip".
- PROPERTY_NOTIFY - a property on
the window has been changed or deleted.
- PROXIMITY_IN - an input device has
moved into contact with a sensing surface (e.
- PROXIMITY_OUT - an input device has
moved out of contact with a sensing surface.
- SCROLL - the scroll wheel was turned
- SELECTION_CLEAR - the application
has lost ownership of a selection.
- SELECTION_NOTIFY - a selection
has been received.
- SELECTION_REQUEST - another
application has requested a selection.
- SETTING - a setting has been modified.
- TOUCHPAD_PINCH - A touchpad pinch
gesture event, the current state is determined by its phase field.
- TOUCHPAD_SWIPE - A touchpad swipe
gesture event, the current state is determined by its phase field.
- TOUCH_BEGIN - A new touch event
sequence has just started.
- TOUCH_CANCEL - A touch event sequence
has been canceled.
- TOUCH_END - A touch event sequence has
finished.
- TOUCH_UPDATE - A touch event sequence
has been updated.
- TRIPLE_BUTTON_PRESS - alias
for gdk_3button_press, added in 3.6.
- UNMAP - the window has been unmapped.
- VISIBILITY_NOTIFY - the window
visibility status has changed.
- WINDOW_STATE - the state of a window
has changed.