On Thu, Mar 15, 2012 at 15:48, Scott Chapman <[email protected]> wrote:

> I have only one TabView.
>
> I don't know how to save such a thing globally in this environment.
> Attach it to root?
>

Yes. If you have only one of them, you can do something like this:

var mainTabs = new qx.ui.tabview.TabView();
qx.core.Init.getApplication().setUserData("mainTabs", mainTabs);

and then later, from anywhere in your app,

mainTabs = qx.core.Init.getApplication().getUserData("mainTabs");

Derrell
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to