I'm looking at the demo code for drag and drop and trying to understand it all.
the document at: http://qooxdoo.org/documentation/0.8/ui_overview?s=drag drop#drag_drop tells me to have a dragstart on the source and drop on the target, but the demo code has droprequest on the source, too I looked in the docs but couldn't find a list of events to read about first of all, in the dragstart listener, what does e.addType do? I know the comment says register supported types, but types of what? then in droprequests they do a e.getCurrentType(), there where type types set, (values, items) what is meant by current? I'm thinking these things are related to the list which is the drag source in the demo. My drag source in a Image and I'd like to know which image was dropped, do I rely on the object name + hash to do this or can I set some kind of label or attribute to identify the image that was dropped? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
