On Thu, 2004-09-30 at 13:18 +0300, Ruslan wrote:
> I would like to ask people using pygtk + glade to share their approach
> on code decomposition. 
I use a mvc+observer pattern from my gtkmvc (see
<http://sra.itc.it/people/cavada/mvc>). Each pair controller+view can be
associated to a separate glade file, or to a set of subtrees of one or
more glade trees. In my opinion this approach helps a lot in separating
the different parts of a GUI. The model(s) can also be splitted, so
obtaining good a separation of the application logic as well. 
rob

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to