Don Dwiggins wrote:
This looks quite similar to what Eli Golovinsky did with pywxrc for XRCed (it's in the CVS head revision). You create/edit an XRC file with XRCed and ask it to write out the .py file. Then you import the file, which contains a class definition, and subclass it. The generated class has to code to load the XRC resource and create ivars for the named controls. I haven't used it (yet), but it looks like a nice way to go.

It is also how Qt Designer / PyQt works. Or, it is how it worked a few years back when I checked it out.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to