Hello,

I saw that a few weeks ago a patch was committed allowing
for the implementation of interfaces by Python classes.
How does one now go about writing a class that properly
implements an interface, for instance GtkEditable? Is it
as simple as:

class MyEntry(gtk.Entry, gtk.Editable):
    def select_region(self, start, end):
        ....
    def get_selection_bounds(self, start, end):
        ....
    etc...

Maybe there was a discussion about it on the lists that
I missed.

Thanks for pointers,
Jesse
_______________________________________________
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