subclassed GTK method overrides not being called


If I have:

MyBase inherits from Gtk.Image
MyBase.do_draw chains up to Gtk.Image.do_draw
MyIcon inherits from MyBase
MyIcon.do_draw chains up to MyBase.do_draw

I instantiate and display MyIcon, the image displays but
MyIcon.do_draw is never called :(
Only MyBase.do_draw is called.

Test app that demonstrates this:

Running pygobject-3.0.2 with the fix for added. (even without
that patch, only MyBase.do_draw is called)

Is this a known bug?


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