a=gtk.TextBuffer()
start, end = a.get_bounds()
b=a.serialize(a, "application/x-gtk-text-buffer-rich-text", start, end)
Traceback (most recent call last):
File "<pyshell#17>", line 1, in <module>
b=a.serialize(a, "application/x-gtk-text-buffer-rich-text", start, end)
RuntimeError: more argument specifiers than keyword list entries
gtk.TextBuffer.serialize
def serialize(content_buffer, format, start, end)
content_buffer : the gtk.TextBuffer to serialize
format : the rich text format to use for serializing
start : start of block of text to serialize
end : end of block of test to serialize
Returns : the serialized data, encoded as format
what arguments are textbuffer.serialize need?
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/