On Wed, Aug 20, 2008 at 9:20 PM, John de la Garza <[EMAIL PROTECTED]> wrote:

> I'm trying to put together a drag and drop interface to demo qooxdoo at
> work...
>
> I've given up on the video embedding for now and am going to substitute
> images.
>
> I have an image on a page done like this:
>
> ----------------------------------------------------------------------------------------------
>  layout = new qx.ui.layout.HBox();
>      layout.setSpacing(10);
>
>      var container = new qx.ui.container.Composite(layout);
>      container.setPadding(20);
>      this.getRoot().add(container, {left:0,top:0});
>      var img = new qx.ui.basic.Image("multimedia-player.png");
>      container.add(img);
>      img.setDraggable(true);
>
> ----------------------------------------------------------------------------------------------
>
> This seems like a dumb question to me, but I have searched the widgets
> and containers
> looking for something to drop the image into.
>
> Would I just drop it into a div area?  or canvas?  Any suggestions?


Hi John,

Your documentation for drag&drop is here:

  http://qooxdoo.org/documentation/0.8/ui_overview?s=drag%20drop#drag_drop

and there's a demo in the 0.8 (trunk) tree at
qooxdoo/application/demobrowser/source/class/demobrowser/demo/ui/DragDrop.js


Cheers,

Derrell
-------------------------------------------------------------------------
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

Reply via email to