You are mixing metaphors. A DIV is not a widget. Your initial question was
how to move a widget to a window and the sample code provided will work to
move a qooxdoo widget from one parent to another. What is in your DIV's? Is
there a reason you aren't using a qooxdoo control like an Atom?
Jim
www.D4PHP.org
www.D4PHP-Hosting.com
On 6/7/07, FrozenDice <[EMAIL PROTECTED]> wrote:
Ah, no unfortunately that code didn't work. Thanks for trying though.
What I'm trying to do is I have a bunch of divs like this
<div>content</div>, and I have a treefullcontrol where if you click on
a certain branch it executes some JS. I want it to be so when you
click on the branch, a <div> will be added to the window.
On 6/7/07, Leander Hanwald <[EMAIL PROTECTED]> wrote:
> Try it with
>
> mywidgetname.setParent(mywindowname);
>
> I don't know if it works for windows, but I use it to change the parent
> of a (for example) button from main document to (for example) a
boxlayout.
>
> Greetings,
> Leander
>
> FrozenDice schrieb:
> > Does anyone know how to move add a widget into a window so that it
> > moves to inside the window when you click a button?
> >
> >
-------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > qooxdoo-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
> >
>
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel