Re: [pygtk] gobject.type_register for class hierarchy?

2007-04-13 Thread Zsolt Foldvari
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

[pygtk] gobject.type_register for class hierarchy?

2007-04-11 Thread Skip Montanaro
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

Re: [pygtk] gobject.type_register for class hierarchy?

2007-04-11 Thread Paul Pogonyshev
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,