The `TechGame Framework for Python`_ is a toolkit for skinning GUIs using a blend of XML, CSS, and Python.
The TechGame Framework for Python is a toolkit for skinning GUIs using a blend of XML, CSS, and Python.
The workflow using this framework is similar to standard GUI development with a twist of web design thrown in. The skinning framework is a generalized engine to build objects from XML. To this engine, we have added an XML namespace ‘TG.skinning.toolkits.wx’ for our binding with the excellent wxPython libraries. Using the skinning framework to factor your wxPython GUI into an XML form allows for a nice layer of insulation between GUI manipulation and model code. And once that separation is accomplished, you can even go to the point of replacing your GUI skin dynamically. Additionally, employing the CSS facilities allows you to localize choices about the look and feel of interfaces across the breadth of your application. Then, when you change your mind, you can quickly test your ideas by changing the stylesheet. Or, in a more sophisticated application, change styles to match the platform you are running on.
If you are interested, please read more about the TG Framework at the project website, as well as download the 1.0a1 Milestone Release. You also might be interested in our CSS tools separate from the framework. They are packaged in parallel with the framework, and can also be found on the release page.