Manuel PHP-GTK
GtkStyle::bg
Access: Read Write
Type: Array
Returns an array of 5 background GdkColors used for the different states a widget can reach.
- <?php
- $newstyle = &new GtkStyle();
- $newstyle->bg[GTK_STATE_PRELIGHT] = $newstyle->whit
- ?>
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.
Remonter 
