[pygtk] Overriding GObject methods in Python
Hrvoje Nikšić
hrvoje.niksic at avl.com
Tue Nov 28 17:01:45 WST 2006
On Tue, 2006-11-28 at 04:57 +0100, John K Luebs wrote:
> > The idea is to reuse GObject facilities where possible (e.g. types,
> > inheritance, signals, GValues), and simply implement the
> appropriate
> > vtable semantics overridable at runtime. I was wondering if anyone
> else
> > has stumbled on this and already solved it.
>
> This is precisely what pygtk tries to do.
[...]
> I can't see what is wrong with the way pygtk does things
The PyGTK approach requires writing a piece of glue C code for every
class whose methods need to be overridden. See the example of
GtkCellRenderer.
More information about the pygtk
mailing list