1 //<Script type="text/javascript">
5 XObject = imports.XObject;
6 console = imports.console;
13 * right - top = preview - webkit?
14 * right - bottom = soruceview
16 * Palete... as toolbar??? - changes depending on what you pick?
18 * Not sure how to do Gtk version.. - our preview might be fun... = probably have to do a gtkhbox.. or something..
27 //print('window loaded');
29 Window = new XObject({
35 type: Gtk.WindowType.TOPLEVEL,
36 title : "Application Builder",
41 this.get('MidPropTree').hideWin();
42 this.get('RightPalete.palete').hide();
44 this.el.set_default_size(900, 600);
45 XObject.prototype.init.call(this);
49 'delete-event' : function (widget, event) {
52 destroy : function (widget) {
76 set_position : [ 400 ]
79 _new : function(self) {
84 // in my original design - the child elements get loaded by a 'module loader...',
104 set_position : [ 300 ]
112 cls : Builder.LeftTopPanel
127 packing : [ 'pack_start', false, true, 0 ],
132 cls : Builder.LeftProps
140 cls : Builder.LeftPanel
151 cls : Builder.MidPropTree
170 set_position : [ 300 ]
180 cls : Builder.RightBrowser
186 packing : ['pack_start', false , false ],
188 //set_position : [ 300 ]
191 // Builder.ProjectTree.create()
195 label : 'Console Goes here'
212 cls : Builder.RightEditor
225 cls : Builder.RightPalete