> There are various bug reports scattered around relating to this, but I think
> this is the mother of them all:
>
> http://bugzilla.gnome.org/show_bug.cgi?id=129843
>
You are right that bug is related with the problem we are discussing
here but please note that even if that bug is solved we still can't
override GTK+ C methods in Python which is what I understand stop us
from having *full* support to subclass Widgets.
For example, here we have a GTK+ C Object: GtkCellRendererText and if I
subclass it from Python like
class CellRendererCombo(gtk.CellRendererText):
pass
there is no way I can override the start_editing method of
GtkCellRendererText, which is all we need to have a combo box inside a
TreeView.
I may feel pesimistic today, but I really don't see the way we ever can
achieve this in pygtk :(
A possible work around would be to define each and every method that is
a good candidate to be overriden to be a signal (since we can override
signals in pygtk) but this means changing a lot of code in GTK+ which I
see undoable for practical reasons.
Lorenzo
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/