Hello,

I'd like to do the something like:

class MyBox(gtk.EventBox):
    # ...
    def do_button_press_event(self, event):
        # ...
        return gtk.EventBox.do_button_press_event(self, event)

but that throws a 'NotImplementedError: virtual method
GtkWidget.button_press_event not implemented'.

What would be the right way?

I'm rather new to Python there must something about the
object model which I am not aware of.

Marko


_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to