Details Specifies the type of a gdk-event instance.
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.
(define-g-enum "GdkEventType" gdk-event-type
(:export t
:type-initializer "gdk_event_type_get_type")
(:nothing -1)
(:delete 0)
(:destroy 1)
(:expose 2)
(:motion-notify 3)
(:button-press 4)
(:2button-press 5)
(:double-button-press 5) ; Alias for :2button-press
(:3button-press 6)
(:triple-button-press 6) ; Alias for :3button-press
(:button-release 7)
(:key-press 8)
(:key-release 9)
(:enter-notify 10)
(:leave-notify 11)
(:focus-change 12)
(:configure 13)
(:map 14)
(:unmap 15)
(:property-notify 16)
(:selection-clear 17)
(:selection-request 18)
(:selection-notify 19)
(:proximity-in 20)
(:proximity-out 21)
(:drag-enter 22)
(:drag-leave 23)
(:drag-motion 24)
(:drag-status 25)
(:drop-start 26)
(:drop-finished 27)
(:client-event 28)
(:visibility-notify 29)
(:not-used 30) ; not used
(:scroll 31)
(:window-state 32)
(:setting 33)
(:owner-change 34)
(:grab-broken 35)
(:damage 36)
(:touch-begin 37)
(:touch-update 38)
(:touch-end 39)
(:touch-cancel 40)
(:touchpad-swipe 41)
(:touchpad-pinch 42)
(:pad-button-press 43)
(:pad-button-release 44)
(:pad-ring 45)
(:pad-strip 46)
(:pad-group-mode 47)
(:event-last 48)) - :nothing
- A special code to indicate a null event.
- :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.
- :expose
- All or part of the window has become visible and needs to be redrawn.
- :motion-notify
- The pointer, usually a mouse, has moved.
- :button-press
- A mouse button has been pressed.
- :2button-press
- A mouse button has been double-clicked. Note that each click also generates a :button-press event.
- :double-button-press
- Alias for :2button-press.
- :3button-press
- A mouse button has been clicked 3 times in a short period of time. Note that each click also generates a :button-press event.
- :triple-button-press
- Alias for the :3button-press event.
- :button-release
- A mouse button has been released.
- :key-press
- A key has been pressed.
- :key-release
- A key has been released.
- :enter-notifiy
- The pointer has entered the window.
- :leave-notify
- The pointer has left the window.
- :focus-change
- The keyboard focus has entered or left the window.
- :configure
- The size, position or stacking order of the window has
changed. Note that GTK discards these events for windows with the :child value of the gdk-window-type enumeration.
- :map
- The window has been mapped.
- :unmap
- The window has been unmapped.
- :property-notify
- A property on the window has been changed or deleted.
- :selection-clear
- The application has lost ownership of a selection.
- :selection-request
- Another application has requested a selection.
- :selection-notify
- A selection has been received.
- :proximity-in
- An input device has moved into contact with a sensing surface, e.g. a touchscreen or graphics tablet.
- :proximity-out
- An input device has moved out of contact with a sensing surface.
- :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-start
- A drop operation onto the window has started.
- :drop-finished
- The drop operation initiated by the window has completed.
- :client-event
- A message has been received from another application.
- :visibility-notify
- The window visibility status has changed.
- :scroll
- The scroll wheel was turned.
- :window-state
- The state of a window has changed. See the gdk-window-state flags for the possible window states.
- :setting
- A setting has been modified.
- :owner-change
- The owner of a selection has changed.
- :grab-broken
- A pointer or keyboard grab was broken.
- :damage
- The content of the window has been changed.
- :touch-begin
- A new touch event sequence has just started.
- :touch-update
- A touch event sequence has been updated.
- :touch-end
- A touch event sequence has finished.
- :touch-cancel
- A touch event sequence has been canceled.
- :touchpad-swipe
- A touchpad swipe gesture event, the current state is determined by its phase field. Since 3.18
- :touchpad-pinch
- A touchpad pinch gesture event, the current state is determined by its phase field. Since 3.18
- :pad-button-press
- A tablet pad button press event. Since 3.22
- :pad-button-release
- A tablet pad button release event.Since 3.22
- :pad-ring
- A tablet pad axis event from a "ring". Since 3.22
- :pad-strip
- A tablet pad axis event from a "strip". Since 3.22
- :pad-group-mode
- A tablet pad group mode change. Since 3.22
- :event-last
- Marks the end of the gdk-event-type enumeration.
|
| See also |