Package muntjac :: Package event :: Package dd :: Module drag_and_drop_event :: Class DragAndDropEvent
[hide private]
[frames] | no frames]

Class DragAndDropEvent

source code

object --+
         |
        DragAndDropEvent

DragAndDropEvent wraps information related to drag and drop operation. It is passed by terminal implementation for DropHandler.drop and AcceptCriterion.accept methods.

DragAndDropEvent instances contains both the dragged data in Transferable (generated by DragSource and details about the current drop event in TargetDetails (generated by DropTarget.

Instance Methods [hide private]
 
__init__(self, transferable, dropTargetDetails)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getTransferable(self)
Returns: the Transferable instance representing the data dragged in this drag and drop event
source code
 
getTargetDetails(self)
Returns: the TargetDetails containing drop target related details of drag and drop operation
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, transferable, dropTargetDetails)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getTransferable(self)

source code 
Returns:
the Transferable instance representing the data dragged in this drag and drop event

getTargetDetails(self)

source code 
Returns:
the TargetDetails containing drop target related details of drag and drop operation