Todd Weiler <twei...@raggedcreek.com> added the comment:

Let me defend my idea a little bit.

Some people hand code their UI's, some people put them into XML UI files
then load those files.

I'd like to create them using an OrderedDict.  I'm using the pyQT for a gui.

Attached is a really simple example program that creates little window
that doesn't really do anything except set up the interface.  Note the
use of a dictionary to set up the interface.  The OrderedDict is more
concise than XML, is Python Code not a separate file and easy to read.

This was inspired by the "builder" concept in Groovy.

Thanks for your time.

----------
Added file: http://bugs.python.org/file13641/od_sample.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5579>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to