I want to get myself into programming some serious GUI based applications, but when I look at things like Swing/SWT from Java, I can't help but HATE programming a GUI interface by creating "widget" objects and populating them and calling methods on them.
I think GUI design should be done in a separate text-based file in some markup format, which is read and rendered (e.g. HTML), so that the design of the interface is not tightly coupled with the rest of the code.
I've seen HTMLayout and I love the idea, but so far it seems be only in C++.
I'm looking for a python library (or even a WIP project) for doing markup-based gui.
UPDATE
The reason I can't accept QT's xml is the same reason I hate the programatic approach; you're assembling each widget separately, and sepcifying each property of it on a separate line. It doesn't provide any advantage over doing it the programatic way.