Re: [pygtk] Overriding GObject methods in Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux