[pygtk] gobject.type_register for class hierarchy?
Skip Montanaro
skip at pobox.com
Thu Apr 12 05:01:07 WST 2007
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,
--
Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/
"The hippies and the hipsters did some great stuff in the sixties,
but the geeks pulled their weight too." -- Billy Bragg
More information about the pygtk
mailing list