DNDHelper is a singleton drag and drop agent.
It acts as dragging/dropping agent for platforms that do not support
html5 drag and drop.
|
|
|
|
|
|
|
|
|
|
|
getElement(self)
ie6 GlassWidget impl needs this |
source code
|
|
|
|
updateDropEffect(self,
dataTransfer,
event_type)
http://dev.w3.org/html5/spec/dnd.html#dragevent |
source code
|
|
|
|
updateDragOperation(self,
event)
http://dev.w3.org/html5/spec/dnd.html |
source code
|
|
|
|
|
|
|
registerTarget(self,
target)
Rather than searching the entire document for drop target widgets and
maybe drop targets within widgets, this implementation holds a list
of widgets and searches only within this list for potential drop
targets. |
source code
|
|
|
|
unregisterTarget(self,
target)
I dont know why, but a widget may no longer want to be registered as
a drop target. |
source code
|
|
|
|
|
|
|
addFeedbackElement(self,
element)
This is called from DataTransfer |
source code
|
|
|
|
|
|
|
setDragImageLocation(self,
x,
y)
Move the dragging image around. |
source code
|
|
|
|
getAbsoluteLeft(self)
GlassWidget wants this |
source code
|
|
|
|
getAbsoluteTop(self)
GlassWidget wants this |
source code
|
|
|
|
| makeDragEvent(self,
event,
type,
target=None) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|