gdk-Drag-and-Drop: Drag and Drop
Description
Functions for controlling drag and drop handlingMethods and Functions
gdkDragGetSelection(object)
gdkDragAbort(object, time)
gdkDropReply(object, ok, time = "GDK_CURRENT_TIME")
gdkDragContextNew()
gdkDragDrop(object, time)
gdkDragFindWindow(object, drag.window, x.root, y.root)
gdkDragFindWindowForScreen(object, drag.window, screen, x.root, y.root)
gdkDragBegin(object, targets)
gdkDragMotion(object, dest.window, protocol, x.root, y.root, suggested.action, possible.actions, time)
gdkDropFinish(object, success, time = "GDK_CURRENT_TIME")
gdkDragGetProtocol(xid)
gdkDragGetProtocolForDisplay(display, xid, protocol)
gdkDragStatus(object, action, time = "GDK_CURRENT_TIME")
gdkDragDropSucceeded(object)
gdkDragContext()
Detailed Description
These functions provide a low level interface for drag and drop.
The X backend of GDK supports both the Xdnd and Motif drag and drop protocols
transparently, the Win32 backend supports the WM_DROPFILES protocol.
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.References
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Drag-and-Drop.html