
David Bergman wrote:
Max responded to David Turner regarding a GUI library:
I would add:
9. (really 0 in my view) It should use an extensive resource description schema or language (for widget properties, layouts and relations) that is either interpreted at run time or (though I like it less) compiled into code transparently to the user. This resource description should probably be XML-based.
I agree, and would definitely go with a XUL-like approach for any new GUI library, i.e., have the GUI defined completely in an XML file. Maybe even handling Microsoft's future XML descriptors for GUIs (XAML?)
Where will you specify C++ code, e.g. methods like "draw"? In QT, XML is converted to real C++ code that you can subclass and add behaviour there. In Mozilla, XUL is scriptable via JavaScript. What can be done here? - Volodya