On Fri, Aug 01, 2003 at 01:10:13PM +0200, Riccardo Galli wrote:
> def on_insert_text(self,buffer,textIter,char,*args):
> buffer.disconnect(self.signal_id)
> if textIter.get_chars_in_line()==6 :
> newIter=buffer.get_iter_at_offset(2)
> buffer.insert(newIter,'X')
> buf
On Fri, Aug 01, 2003 at 01:10:13PM +0200, Riccardo Galli wrote:
> Hello world.
>
> I'm trying to insert characters in a textview, in a position different from the one
> where's the cursor.
>
> I'm alwais getting this warning:
> Gtk-WARNING **: Invalid text buffer iterator: either the iterator is
Hello world.
I'm trying to insert characters in a textview, in a position different from the one
where's the cursor.
I'm alwais getting this warning:
Gtk-WARNING **: Invalid text buffer iterator: either the iterator is uninitialized, or
the characters/pixbufs/widgets in the buffer have been mod