Package: gdk

Class gdk:drop

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

actions
The actions property of type gdk:drag-action (Read / Write / Construct Only)
The possible actions for the drop.
Default value: '(:copy :move :link)
device
The device property of type gdk:device (Read / Write / Construct Only)
The device performing the drop.
display
The display property of type gdk:display (Read)
The display that the drop object belongs to.
drag
The drag property of type gdk:drag (Read / Write / Construct Only)
The drag object that initiated the drop.
formats
The formats property of type gdk:content-formats (Read / Write / Construct Only)
The possible formats that the drop object can provide its data in.
surface
The surface property of type gdk:surface (Read / Write / Construct Only)
The surface the drop happens on.

Details

The gdk:drop object represents the target side of an ongoing DND operation. Possible drop sites get informed about the status of the ongoing drag operation with events of :enter, :leave, :motion and :start type. The gdk:drop object can be obtained from these gdk:events events using the gdk:dnd-event-drop function.

The actual data transfer is initiated from the target side via an async read, using one of the gdk:drop functions for this purpose: the gdk:drop-read-async or gdk:drop-read-value-async functions.

GTK provides a higher level abstraction based on top of these functions, and so they are not normally needed in GTK applications. See the Drag and Drop section of the GTK documentation for more information.
 

Inherited Slot Access Functions

See also

#2023-8-7