Hi,

Rick Amont <[EMAIL PROTECTED]> writes:

> I have been trying to change the background color of a
> window in GTK+. I have tried, among other things,
> changing the background color in the widget's style
> like this
> GtkStyle *style;
> style = gtk_widget_get_style(window);
> style = gtk_style_copy(style); //Saw this one in a
> mail //list but I don't get it
> style->fg[0] = white; //white defined as a color before

didn't you want to change the background color? That would have been
style->bg[] then.


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to