GdkDrop

The gdk.drop.Drop object represents the target of an ongoing DND operation.

Possible drop sites get informed about the status of the ongoing drag operation with events of type gdk.types.EventType.DragEnter, gdk.types.EventType.DragLeave, gdk.types.EventType.DragMotion and gdk.types.EventType.DropStart. The gdk.drop.Drop object can be obtained from these gdk.event.Event types using gdk.dndevent.DNDEvent.getDrop.

The actual data transfer is initiated from the target side via an async read, using one of the gdk.drop.Drop methods for this purpose: gdk.drop.Drop.readAsync or gdk.drop.Drop.readValueAsync.

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.

struct GdkDrop