Reinhold Birkenfeld wrote:
Have to disagree strongly.
It's evil anyway (for more complex applications) to put GUI construction in your code. GUI should be described appropriately in data files.
Glade does this very good, and with pygtk it's no problem to use the XML files.
Reinhold
So the GUI should be seperate from the code. Is the way i described valid then? Extending from the gui class and putting event handlers in the derived classes?
Or is there a better way to seperate the GUI from the code?
Benedict -- http://mail.python.org/mailman/listinfo/python-list