3 * Copyright(c) 2006-2011 Sencha Inc.
5 * http://www.sencha.com/license
8 Ext.define('MyDesktop.TabWindow', {
9 extend: 'Ext.ux.desktop.Module',
21 handler : this.createWindow,
26 createWindow : function(){
27 var desktop = this.app.getDesktop();
28 var win = desktop.getWindow('tab-win');
30 win = desktop.createWindow({
45 bodyStyle: 'padding: 5px;',
50 html : '<p>Something useful would be in here.</p>',
55 html : '<p>Something useful would be in here.</p>',
60 html : '<p>Something useful would be in here.</p>',
65 html : '<p>Something useful would be in here.</p>',