color of gtk widget


 I have a GtkWidget "Button. I want the color of the button should be complete red.

I have used this

GdkColor color;
gdk_color_parse ("red", &color);
gtk_widget_modify_fg (Button, GTK_STATE_NORMAL, &color);

But this doesn't make the whole button red. it just paints the border of the button with red color.

What to do the complete make the button, red.

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