ext Skip Montanaro wrote:
> Suppose I have this sort of class relationship:
> 
>     class A(gobject.GObject):
>         def __init__(self):
>             gobject.GObject.__init__(self)
>             ...
> 
>     class B(A):
>         ...
> 
> A is abstract.  Do I need to call gobject.type_register for just A, just B
> or both?
> 
> Thanks,
> 

If you can require pygtk 2.8, no need to call type_register at all. GObjectMeta
does it for you.

Cheers,
Zsolt
_______________________________________________
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