Window "myWindow" { title = "Hello World"; Button "myButton" { label = "Hello World" } } In this version you can use both ';' and ','To something like: myWindow = Window ( title = "Hello World", myButton = Button( title = "Hello World" ) ) I don't really mind the 'myWindow = Window' part, it may look less elegant/beautiful but it does tell the user 'Hi I'm a dictionary and I can be used as such', however I really mind the parenthesis part, since it may look very cumbersome to use when mixed with functions.
This is really just a question of taste. I personally really don't have any issue with that.
There's another posibility which is to read from files and make python interpret some chunks while other are interpreted by the app, but that would be difficult.
I don't think that it is so difficult. Plus there are GUI frameworks or extensions to GUI frameworks that indeed store the description of the GUI widgets separate from the application logic. E.g. Glade [1].
Whether this is a good approach or not is a different question. [1] https://glade.gnome.org/ M.D. _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
