Package: gdk

GBoxed gdk:event-dnd

Declaration

(define-gboxed-variant-cstruct event "GdkEvent"
  (type event-type)
  (window (g:object window))
  (send-event (:boolean :int8))
            ...
            ((:drag-enter
              :drag-leave
              :drag-motion
              :drag-status
              :drop-start
              :drop-finished) event-dnd
             (context (g:object drag-context))
             (time :uint32)
             (x-root :short)
             (y-root :short))
  ... ))  

Values

type
The gdk:event-type type of the event.
window
The gdk:window object which received the event.
send-event
True if the event was sent explicitly.
context
The gdk:drag-context object for the current DND operation.
time
An unsigned integer with the time of the event in milliseconds.
x-root
A short integer with the x coordinate of the pointer relative to the root of the screen, only set for :drag-motion and :drop-start events.
y-root
A short integer with the y coordinate of the pointer relative to the root of the screen, only set for :drag-motion and :drop-start events.

Details

Generated during DND operations.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2024-6-28