[pygtk] textbuffers and iters

Ashi anu2703 at gmail.com
Thu Apr 6 12:58:49 WST 2006


hello,

i have some problem working with textubffers as folows...


 GtkWarning: Invalid text buffer iterator: either the iterator is
uninitialized, or the characters/pixbufs/widgets in the buffer have been
modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a
position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can
be referred to by character offset)
will invalidate all outstanding iterators
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20060406/8ee5b0e6/attachment.htm


More information about the pygtk mailing list