Hi
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.
Or look at the guibuilder class, I think there is another way used which
I'm not remember :)
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?
>
> Thanks,
> Alexei Golovko
>
> P.S. I'm using qooxdoo 0.6.6 (stable).
>
>
> -------------------------------------------------------------------------
> 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