X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=README.txt;h=802368908adf5f2656e7982ba2170cd8f419dad3;hp=cb5529db24328e6c17e94b45e357047cfe4da76b;hb=9c8f3091f06ad4afe34006443697825b43f59e89;hpb=c8028be13ec93335b50b8f50cfa00b67335c27ef diff --git a/README.txt b/README.txt index cb5529db2..802368908 100644 --- a/README.txt +++ b/README.txt @@ -1 +1,84 @@ -No readme yet \ No newline at end of file +App Builder + +This is a Seed based application builder.. - currently basically a prototype.. + + +The idea is that it can build applications both web based (using roojs) and Desktop based using Gtk +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.. + +----------------------------------------------------- + +TODO (Gtk) +* 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... +* new file = should specify type (eg. gtk window etc..) +* Help view - next/back.. url? +----------------------------------------------------- + +TODO (Roo) +* Support for baseURL.. ?? auth? - project properties.. + +----------------------------------------------------- + +Thoughts... +* Widget definition 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? + + +----------------------------------------------------- +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... + +