README.txt
[app.Builder.js] / README.txt
index 4610caf..6c2133d 100644 (file)
@@ -22,16 +22,32 @@ 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...
+