On Thu, 2005-02-10 at 11:36 -0600, Boncek, John wrote: > I'm trying to set the text color and background color of a GtkTextView. > I've read Havoc Pennington's mini-FAQ. He gives the following example of > how to set a color in GTK 2.0:
You can do this very easily by utilising the "foreground", "foreground- gdk", "background" and "background-gdk" attributes of the GtkCellRendererText. Note: the "-gdk" attributes use a GdkColor and the others should be ok with just "blue" I would have thought. For a list of available colours, you will need to look up what Pango supports. -- Regards, Martyn _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list