Re: Button background colors
- From: dale_mellor users sourceforge net
- To: gtk-list gnome org
- Subject: Re: Button background colors
- Date: Thu, 15 Jun 2006 08:56:46 +0100
I too use gtk_widget_modify_bg without trouble on a GtkButton object,
using GTK version 2.9.2.
Anna writes:
> On Wed, Jun 14, 2006 at 03:30:29PM -0500, Michael Kahn wrote:
> > I am using Gtk 2.8.18.
> >
> > I would like to know how to set the background color in a GtkButton.
> >
> > I cannot set the background in a style, theme, or resource file because I am
> > programming to requirements that specify different background colors for
> > different buttons.
> >
> > I have tried using gtk_widget_modify_bg the button, using all combinations
> > of creating the button with and without a label.
>
> I use gtk_widget_modify_bg() without trouble. piece of a function:
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]