3 This is a Seed based application builder.. - currently basically a prototype..
6 The idea is that it can build applications both web based (using roojs) and Desktop based using Gtk
7 and the gobject introspection bindings.
9 It's kind of like Glade on steroids..
11 ----------------------------------------------------
14 seed gtkrun.js Builder
17 -> add a folder to the project
18 -> add a file to the project..
19 Files are JSON data files at present..
21 -----------------------------------------------------
24 * basic builder app runs - you can build a tree of elements making up a interface for roo and gtk.
25 * listeners are created correctly.
26 * listeners with gtk prototypes
27 * Gtk properties that are enums - now show a combo selector..
28 * application is used to write itself...
29 * Projects can be created and deleted (basically a directory)
30 * sourceview to uses spaces rather than tabs. (and autoindents..)
31 * Help view - load docs..
32 * highlight in gtk preview - works but is klunky..
33 * Support for extra code in Roo HTML is done by "Set extra HTML in rendere"
36 -----------------------------------------------------
40 git clone git://github.com/roojs/app.Builder.js.git
42 git clone git://github.com/roojs/gir-1.2-gtk-3.4.git gir-1.2
45 ** This file may need running as root if sudo fails..
48 seed gtkrun.js Builder3
52 -----------------------------------------------------
55 * Tables are not rendering first time round..
56 * Dialog buttons - need special rendering on preview.
57 * Icon-size (should be an enum...??)
58 * (Image|....??? ).stock - should be a list of stock icons..
59 * fix pulldowns for types.. - it's a bit hap hazard with the delayed / loading of settings.
60 * packing - gather from methods to find out which match.. (including false)
61 * adding a file does not display on project tree straight awya..
62 * templates for elements... - eg. defaults for classic elements.
63 * sort out add heirachy for Gtk..
64 * Project Tree needs to work perhaps like a left hand popout.
65 * make heirachy editor...
66 * new file = should specify type (eg. gtk window etc..)
67 * Help view - next/back.. url?
68 -----------------------------------------------------
71 * file properties - title, parent etc..
73 -----------------------------------------------------
76 * Widget definition files.. (to replace our 'Usage.txt' files)
78 -> onAdd(name_of_parent, cfg) { modifies defaults.. }
79 -> validParents : [ .... ]
80 -> validChildren???: [ .... ]
82 * how to handle stuff like GtkTable.. -
83 - needs cols,rows in constructor.
84 - child properties do not appear to work? -- investigate?
86 * XObject - Use Buildable interface???
88 * Preview area - use glade widgets?
90 -----------------------------------------------------
93 Basically both Roo and JS are built using a tree of elements (tagged with xtype/xns)
94 sub elements always go in the items array..
95 we have some special properties of elements, eg.
97 *prop (a property of the parent)
98 xtype (element type) eg. Window / Button etc..
99 |xns (namespace) = eg. Gtk/Roo etc.
101 |**** anything starting with a pipe is raw data field rather than quoted..
104 each element can have a property listeners which is where the listeners go...