GtkStyle::bg
Access: Read Write
Type: Array
Returns an array of 5 background GdkColors used for the
different states
a widget can reach.
$newstyle = &new GtkStyle();
$newstyle->bg[GTK_STATE_PRELIGHT] = $newstyle->white;
|
Note that GtkLabel does not allow
the background color to be changed, so you have to set the background of the
parent widget, e.g. the GtkButton.