On Fri, May 28, 2004 at 04:44:36PM +0100, Jonathon McKitrick wrote:
> 1.  Pass the widget tree into a class, then get the widget and show() it...
> OR
> 2.  Call the new class, which looks up the file and widget itself?

I tend to prefer approach 2, because IMO it promotes better
encapsulation (and you can end up reusing your new class in other
situations). 

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331
_______________________________________________
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