X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=README.txt;h=f0cef2b1867574c6ad03cb5ff365b52387b53892;hp=3b1862139a2239f7c3d6e8ac4e67a740457b63b7;hb=refs%2Fheads%2Forigin.gitlive;hpb=e5e0ea1fd31f10a235d77e3f1b1b615106b9f008 diff --git a/README.txt b/README.txt index 3b1862139..f0cef2b18 100644 --- a/README.txt +++ b/README.txt @@ -8,17 +8,81 @@ and the gobject introspection bindings. It's kind of like Glade on steroids.. +---------------------------------------------------- +Usage: + +seed gtkrun.js Builder + +-> 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. +* listeners with gtk prototypes +* Gtk properties that are enums - now show a combo selector.. +* application is used to write itself... +* Projects can be created and deleted (basically a directory) +* sourceview to uses spaces rather than tabs. (and autoindents..) +* Help view - load docs.. +* highlight in gtk preview - works but is klunky.. +* Support for extra code in Roo HTML is done by "Set extra HTML in rendere" ----------------------------------------------------- -TODO -* listeners need to created correctly. +TODO (Gtk) +* Tables are not rendering first time round.. +* Dialog buttons - need special rendering on preview. +* Icon-size (should be an enum...??) +* (Image|....??? ).stock - should be a list of stock icons.. +* fix pulldowns for types.. - it's a bit hap hazard with the delayed / loading of settings. +* packing - gather from methods to find out which match.. (including false) +* adding a file does not display on project tree straight awya.. * templates for elements... - eg. defaults for classic elements. * sort out add heirachy for Gtk.. +* Project Tree needs to work perhaps like a left hand popout. * make heirachy editor... -* use application to write it'self... +* new file = should specify type (eg. gtk window etc..) +* Help view - next/back.. url? +----------------------------------------------------- + +TODO (Roo) +* file properties - title, parent etc.. + +----------------------------------------------------- + +Thoughts... +* Widget definition files.. (to replace our 'Usage.txt' files) +-> defaults { ... } +-> onAdd(name_of_parent, cfg) { modifies defaults.. } +-> validParents : [ .... ] +-> validChildren???: [ .... ] + +* how to handle stuff like GtkTable.. - + - needs cols,rows in constructor. + - child properties do not appear to work? -- investigate? + +* XObject - Use Buildable interface??? + +* Preview area - use glade widgets? + +----------------------------------------------------- +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... + +