Re: displaying contents in textview

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

 



Hi

1. Read the file data (open, fread, close)
2. If your text isn't UTF-8: g_locale_to_utf8 or g_convert (see glib ->
Character Set Conversion )
3. gtk_text_buffer_new, gtk_text_buffer_set_text, gtk_text_view_set_buffer
or
3. gtk_text_view_get_buffer, gtk_text_buffer_set_text

Jan-Marek
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux