Hello Marco!
At first you have to create your window in order to place the TabView in it. Please note that the Window needs a layout before you can add widgets to it. This might be the error you found through debugging. -- snip -- this.__window = new qx.ui.window.Window( "My Window", "icon/16/categories/internet.png" ); this.__window.setLayout(new qx.ui.layout.VBox(10)); -- snap -- After that you can put any widget in your window: -- snip -- var tabview = new qx.ui.tabview.TabView(); this.__window.add(tabview); -- snap -- For more information about Window and TabView have a look at our Widget Reference: http://qooxdoo.org/documentation/0.8/widget/window http://qooxdoo.org/documentation/0.8/widget/tabview To show a window after a button is clicked you have to add an listener for the "execut" event to the button: -- snip -- var button = new qx.ui.form.Button("My button"); button.addListener("execute", this._openWindow, this); -- snap -- You need a method whichs shows the window: -- snip -- _openWindow : function(e) { this.__window.open(); } -- snap -- Kind regards, Jonathan ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
