[pygtk] Re: Cannot subclass gtk.Widget

Jeffrey Barish jeff_barish at earthlink.net
Fri Mar 9 09:36:06 WST 2007


Jeffrey Barish wrote:

> I still don't understand what to do if my widget is composed of other
> widgets (rather than Cairo drawing and text).

I think the answer is that in PyGTK we don't subclass except when we need to
do some drawing, as in the example.  Otherwise, we just create a class to
encapsulate the standard widgets.
-- 
Jeffrey Barish



More information about the pygtk mailing list