RE: HELP for TextView functions

 >  (testtextwidget:15175): Gtk-CRITICAL **: file gtktextbuffer.c: line 476 (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
 >  NULL)' failed
The reason for this, is that your text is not valid UTF8.  All of GTK uses UTF8.  You can check the validity of your text using this function: g_utf8_validate();
Look at the gtk-demo for an example on how to use the GtkTextView widget.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]