org.gnu.gdk
public class DragContext extends GObject
Constructor Summary | |
---|---|
DragContext()
Construct a DragContext. | |
DragContext(Handle handle)
Construct a DragContext using native resources. |
Method Summary | |
---|---|
void | finish(boolean success, boolean delete, int time) |
DragAction | getAction()
Return the action chosen by the destination. |
Window | getDestination()
Return the destination window. |
DragProtocol | getProtocol()
Return the Drag Protocol |
Window | getSource()
Return the source window. |
DragAction | getSuggestedAction()
Return the action suggested by the source. |
Atom[] | getTargets() |
boolean | isSource()
Returns true if the context is used on the source side. |