> Folks,
>     I get the following error when I try to insert text into a text
> widget.
> 
> Gtk-CRITICAL **: file gtktext.c: line 879 (gtk_text_set_point): assertion
> `index <= TEXT_LENGTH (text)' failed.
> 
> 
> Much abbreviated code looks like this...
>       self.tempTextArea = GtkText()
>       self.tempTextArea.set_editable(FALSE)
>       self.tempTextArea.set_line_wrap(TRUE)
>       self.tempTextArea.set_word_wrap(FALSE)
>       self.tempTextArea.insert_defaults("Default Text")
>             .....
>       .....
>            self.tempTextArea.delete_text(0, -1)
>            self.tempTextArea.insert_text("Other Text")
> After which I get the above error message.  Any suggestions to alleviate
> this problem would be much appreciated.
> 
> Thanks...
> 
> 
> 
> 
> 
> 

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to