On Dec 3, 2007 3:57 AM, Guenther Meyer <[EMAIL PROTECTED]> wrote:
> hi,
>
> I have a hbox that looks like this:
>
> -
> | ||
> | | |
> | | |
> | ||
> -
>
> is a gtkimage
> is text in gtklabel
>
> how can I set the background color for the whole hbox?
> gtk_widget_modify_bg won't work.
>
> I need the color for the whole hbox. when I set the background of the text,
> only the background of the letters is drawn in the specified color...
>
Add a GtkEventBox, then add your hbox to the event box. Set the
background color for the event box.
-Jim
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list