Thanks, Leander
> Without an var before the variable name ( var layout = -> layout = )
> your object should be global accessable.
>
> Another way is to add it to the parent class (this._layout) or as an
> property.
Well, these two ways are not acceptable for me. I would like to know the most
_general_ way (i.e. applicable to any widget, no matter where created, in
what context etc.)
> Or look at the guibuilder class, I think there is another way used which
> I'm not remember :)
Probably, that will help.
Thanks,
Alexei Golovko
> Greetings,
> Leander
>
> [EMAIL PROTECTED] schrieb:
> > Hello, List
> >
> > Is there any way to access the qooxdoo widget somehow except the direct
> > approach (by name in the code)?
> >
> > Here the example:
> > // Application main function
> > qx.Proto.main = function(e) {
> > var layout = new qx.ui.core.VerticalBoxLayout();
> > layout.addToDocument();
> >
> > var btnTest = new qx.ui.form.Button("Test");
> > layout.add(btnTest);
> > }
> >
> > Question:
> > Is there some call like this:
> > qx.core.some_ns.someGlobalCall()....
> > to access layout and btnTest?
-------------------------------------------------------------------------
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