Class
GdkDrag
Description [src]
abstract class Gdk.Drag : GObject.Object
{
/* No available fields */
}
The GdkDrag
object represents the source of an ongoing DND operation.
A GdkDrag
is created when a drag is started, and stays alive for duration of
the DND operation. After a drag has been started with gdk_drag_begin()
,
the caller gets informed about the status of the ongoing drag operation
with signals on the GdkDrag
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.
Instance methods
gdk_drag_get_drag_surface
Returns the surface on which the drag icon should be rendered during the drag operation.
gdk_drag_set_hotspot
Sets the position of the drag surface that will be kept under the cursor hotspot.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.