README.txt
[app.Builder.js] / README.txt
index 3b18621..07c66c7 100644 (file)
@@ -8,6 +8,16 @@ 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..
 
@@ -18,7 +28,24 @@ Where it is..
 TODO
 * listeners need to created correctly.
 
+* 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 it'self...
+* 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..
+!listener  anything starting with a ! is a listener..
+
+