Package: gdk

Class gdk:drag

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)
The possible actions of the drag.
Default value: :none
content
The content property of type gdk:content-provider (Read / Write / Construct Only)
The content provider.
device
The device property of type gdk:device (Read / Write / Construct Only)
The device that is performing the drag.
display
The display property of type gdk:display (Read)
The display that the drag belongs to.
formats
The formats property of type gdk:content-formats (Read / Write / Construct Only)
The possible content formats that the drag can provide its data in.
selected-action
The selected-action property of type gdk:drag-action (Read / Write)
The currently selected action of the drag.
Default value: :none
surface
The surface property of type gdk:surface (Read / Write / Construct Only)
The surface where the drag originates.

Details

The gdk:drag object represents the source of an ongoing DND operation. A gdk:drag object is created when a drag is started, and stays alive for duration of the DND operation. After a drag has been started with the gdk:drag-begin function, the caller gets informed about the status of the ongoing drag operation with signals on the gdk:drag object.

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.

Signal Details

The "cancel" signal
lambda (drag reason)    :run-last      
drag
The gdk:drag object on which the signal is emitted.
reason
The gdk:drag-cancel-reason value with the reason the drag was cancelled.
The drag operation was cancelled.
The "dnd-finished" signal
lambda (drag)    :run-last      
drag
The gdk:drag object on which the signal is emitted.
The drag operation was finished, the destination finished reading all data. The drag object can now free all miscellaneous data.
The "drop-performed" signal
lambda (drag)    :run-last      
drag
The gdk:drag object on which the signal is emitted.
The drag operation was performed on an accepting client.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2024-5-2