[pygtk] pygtk + glade: code decomposition best practices?
alienoid at is.lg.ua
Thu Sep 30 18:18:04 WST 2004
I would like to ask people using pygtk + glade to share their approach
on code decomposition. For example, there is GUI(made in glade) -
Notebook with different pages containing a lot of widgets that needs to
be connected with signals handlers. Having one main class that gets all
widgets from glade file and contains all signal handlers seems not very
good approach. Probably for each Notebook page should be created
separate class to handle GUI signals from page widgets, maybe there is
some kind of software pattern for handling such cases...
Anyway if someone has any suggestions/ideas, you are welcome.
More information about the pygtk