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?

Only for B and only if B has some do_*() methods.  As far as I know, anyway.

Paul
_______________________________________________
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