On 21.01.2010, at 23:14, middleofdre...@gmail.com 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   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to