[pygtk] textbuffer.serialize() arguments? winxp os
无姓无名
smmsms at gmail.com
Mon Jan 14 12:32:54 WST 2008
windows xp pro sp2 chs
gtk+ runtime env 2.10.6-1
python 2.5 pycairo 1.2.6
python 2.5 pygobject 2.12.3
python 2.5 pygtk 2.10-1
python 2.5.1 stackless
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
More information about the pygtk
mailing list