README.txt
[app.Builder.js] / README.txt
index 39a2e29..6c2133d 100644 (file)
@@ -8,18 +8,46 @@ and the gobject introspection bindings.
 
 It's kind of like Glade on steroids..
 
+----------------------------------------------------
+Usage:
+
+seed builder_run.js
+
+-> create a project
+-> add a folder to the project
+-> add a file to the project..
+Files are JSON data files at present.. 
+
 -----------------------------------------------------
 Where it is..
 
 * basic builder app runs - you can build a tree of elements making up a interface for roo and gtk.
-
+* listeners are  created correctly.
 
 -----------------------------------------------------
 TODO
-* listeners need to created correctly.
 
+* listeners (for gtk need prototypes);
+* create output to JS ...
 * templates for elements... - eg. defaults for classic elements.
 * sort out add heirachy for Gtk..
 * make heirachy editor...
 * use application to write itself...
 
+-----------------------------------------------------
+Concepts
+
+Basically both Roo and JS are built using a tree of elements (tagged with xtype/xns)
+sub elements always go in the items array..
+we have some special properties of elements, eg.
+
+*prop (a property of the parent)
+xtype (element type) eg. Window / Button etc..
+|xns  (namespace) = eg. Gtk/Roo etc.
+
+|**** anything starting with a pipe is raw data field rather than quoted..
+
+
+each element can have a property listeners which is where the listeners go...
+
+