Add a method to a gtk class?

Joe Riopel goon12 at gmail.com
Thu Apr 29 11:03:45 EDT 2010


On Thu, Apr 29, 2010 at 11:43 AM, Wolfnoliir <wolfnoliir at gmail.com> wrote:
> I would like to add a method to the gtk.TextBuffer class to save a text
> buffer to a file, but I get an error:

I don't know gtk, but can you inherit from the TextBuffer class create
your own TexBuffer subclass with the save_to_file method?



More information about the Python-list mailing list