I can only help you with the tab thingie.
To create a tab page you add a button and a page.
You add the button to the bar and the page to the pane.
So you code looks like:

 var tbs = new qx.ui.pageview.tabview.TabView;
 var btn = new qx.ui.pageview.tabview.Button ('tab 1');
 var pg  = new qx.ui.pageview.tabview.Page   (btn);

 tbs.getBar().add(btn);
 tbs.getPane().add(pg);

Now to select the tab of your liking, you can use the 'checked' property on
the button:

 btn.setChecked(true);

However, you do need to have a reference to a button somewhere.
One trick would be:

qx.ui.pageview.tabview.TabView.prototype.selectTab = function (i)
{  this.getBar().getChildren[i-1].setChecked(true); }

This code would add the selectTab method to TabView. Then you can use:

 myTabView.selectTab (3);  // selects the third tab

Off couse if you just want to set the first tab focused on creation you can
just use setChecked on the button when creating the tab.

Hope this helps!

Greetings,
Ralf

2006/12/1, Kirk Abbott <[EMAIL PROTECTED]>:

Hello All,

First of all... Nice work with qooxdoo. I have been working with 0.6.1
and a have a few questions.
1) How does one 'programmatically' select a tab? Is there the
equivalent of setSelected(tab_index)

2) I have set up a project based on the sample skeletons. When I tried
  an absolute path (I am working on cygwin), I got a failure. I then
tried a relative path which works, but only if I hacked the
generator.py code. Bad code gets generated... The path separator does
not do the 'right thing'
Has anyone run into this issue under cygwin and 0.6.1?

Kirk.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to