I forgot something like MVC exists Is it hard to learn for example pygtkmvc and rebuild existing app (which is written in chaos mode - everything everywhere)? In which point of my app I should start? I'll give you the code... as messy as it is.
http://github.com/middleofdreams/pybber comments are in polish but it doesn't really matter. 2010/1/22 Tobias Weber <[email protected]> > On 21.01.2010, at 23:14, [email protected] wrote: > > I think you're looking for the MVC pattern. You can read it up and do > it on foot or use a framework like Kiwi. > > > For example - I have main class in main file and I want to move > > widgets (loading widgets from gladefile) into new file. > > View > > > Or signal handlers - how to move them into other file and do it right? > > Controller > > > self.gui.some_widget.show() > > > This is exactly how it'd look with > http://sourceforge.net/apps/trac/pygtkmvc/wiki > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://faq.pygtk.org/ >
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
