1 //<Script type="text/javascript">
5 XObject = imports.XObject;
6 console = imports.console;
8 TopMenu = imports.Builder.TopMenu.TopMenu;
14 * right - top = preview - webkit?
15 * right - bottom = soruceview
17 * Palete... as toolbar??? - changes depending on what you pick?
19 * Not sure how to do Gtk version.. - our preview might be fun... = probably have to do a gtkhbox.. or something..
28 //print('window loaded');
30 Window = new XObject({
36 type: Gtk.WindowType.TOPLEVEL,
37 title : "Application Builder",
42 this.get('MidPropTree').hideWin();
43 this.get('RightPalete.palete').hide();
45 this.el.set_default_size(900, 600);
46 XObject.prototype.init.call(this);
50 'delete-event' : function (widget, event) {
53 destroy : function (widget) {
72 set_position : [ 400 ]
75 _new : function(self) {
80 // in my original design - the child elements get loaded by a 'module loader...',
100 set_position : [ 300 ]
108 cls : Builder.LeftTopPanel
123 packing : [ 'pack_start', false, true, 0 ],
128 cls : Builder.LeftProps
136 cls : Builder.LeftPanel
147 cls : Builder.MidPropTree
166 set_position : [ 300 ]
176 cls : Builder.RightBrowser
182 packing : ['pack_start', false , false ],
184 //set_position : [ 300 ]
187 // Builder.ProjectTree.create()
191 label : 'Console Goes here'
208 cls : Builder.RightEditor
221 cls : Builder.RightPalete