org.gnu.gdk

Class DragContext


public class DragContext
extends GObject

A DragContext holds information about a drag in process. It is used on both source and destination sides.

Field Summary

Fields inherited from class org.gnu.glib.GObject

eventsInitialized

Constructor Summary

DragContext()
Construct a DragContext.
DragContext(Handle handle)
Construct a DragContext using native resources.

Method Summary

protected static int
gdk_drag_context_get_type()
protected static Handle
gdk_drag_context_new()
DragAction
getAction()
Return the action chosen by the destination.
protected static int
getAction(Handle obj)
protected static int
getActions(Handle obj)
protected static Handle
getDestWindow(Handle obj)
Window
getDestination()
Return the destination window.
protected static boolean
getIsSource(Handle obj)
DragProtocol
getProtocol()
Return the Drag Protocol
protected static int
getProtocol(Handle obj)
BEGINNING OF GENERATED CODE
Window
getSource()
Return the source window.
protected static Handle
getSourceWindow(Handle obj)
DragAction
getSuggestedAction()
Return the action suggested by the source.
protected static int
getSuggestedAction(Handle obj)
boolean
isSource()
Returns true if the context is used on the source side.

Methods inherited from class org.gnu.glib.GObject

addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, equals, freezeNotify, getBooleanProperty, getData, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getHandle, getIntFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getNullHandle, getPixbufProperty, getProperty, getStringFromHandle, getStringProperty, hasProperty, hashCode, instantiateJGObjectFromGType, notify, removeEventHandler, removeListener, retrieveGObject, setBooleanProperty, setData, setData, setDoubleProperty, setFloatProperty, setHandle, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify

Constructor Details

DragContext

public DragContext()
Construct a DragContext.


DragContext

public DragContext(Handle handle)
Construct a DragContext using native resources. Used internally by java-gnome

Method Details

gdk_drag_context_get_type

protected static final int gdk_drag_context_get_type()


gdk_drag_context_new

protected static final Handle gdk_drag_context_new()


getAction

public DragAction getAction()
Return the action chosen by the destination.


getAction

protected static final int getAction(Handle obj)


getActions

protected static final int getActions(Handle obj)


getDestWindow

protected static final Handle getDestWindow(Handle obj)


getDestination

public Window getDestination()
Return the destination window.


getIsSource

protected static final boolean getIsSource(Handle obj)


getProtocol

public DragProtocol getProtocol()
Return the Drag Protocol


getProtocol

protected static final int getProtocol(Handle obj)
BEGINNING OF GENERATED CODE


getSource

public Window getSource()
Return the source window.


getSourceWindow

protected static final Handle getSourceWindow(Handle obj)


getSuggestedAction

public DragAction getSuggestedAction()
Return the action suggested by the source.


getSuggestedAction

protected static final int getSuggestedAction(Handle obj)


isSource

public boolean isSource()
Returns true if the context is used on the source side.