Package org.gnome.gdk

Class Drop

java.lang.Object
All Implemented Interfaces:
Proxy
Direct Known Subclasses:
Drop.DropImpl

@Generated("io.github.jwharm.JavaGI") public abstract class Drop extends GObject
The GdkDrop 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 EventType.DRAG_ENTER, EventType.DRAG_LEAVE, EventType.DRAG_MOTION and EventType.DROP_START. The GdkDrop object can be obtained from these Event types using DNDEvent.getDrop().

The actual data transfer is initiated from the target side via an async read, using one of the GdkDrop methods for this purpose: readAsync(java.lang.String[], int, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback) or readValueAsync(org.gnome.glib.Type, int, org.gnome.gio.Cancellable, org.gnome.gio.AsyncReadyCallback).

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.