changing the bg of a widget



Hello. I'm trying to change the background of a vbox but it doesn't
change. I call gtk_widget_modify_bg(window_main->box_main,
GTK_STATE_NORMAL, &bgColor) where bgColor is set to white. Why does this
not work? I have a GtkImage with an image in the vbox and that's all. If
I resize the window, the color is still the same.

Greets,
Luka




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