workaround for generating gui tools

flupke flupke at nonexistingdomain.com
Sat Apr 9 13:21:46 EDT 2005


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



More information about the Python-list mailing list