GtkTextView: inserting text with different styles

2008-03-17 Thread Carlos Pereira
Hi, Let's say I have a GtkTextView, with two color tags, red and blue: text_view = gtk_text_view_new (); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view)); gtk_text_buffer_create_tag (buffer, my_red, foreground, #ff, NULL); gtk_text_buffer_create_tag (buffer, my_blue, foreground,

Re: GtkTextView: inserting text with different styles

2008-03-17 Thread Lance Dillon
- Original Message From: Carlos Pereira [EMAIL PROTECTED] To: gtk-app-devel-list@gnome.org Sent: Monday, March 17, 2008 8:46:02 AM Subject: GtkTextView: inserting text with different styles Hi, Let's say I have a GtkTextView, with two color tags, red and blue: text_view