Re: Button background colors



On Wed, Jun 14, 2006 at 07:08:31PM -0700, Anna wrote:
> 
> I use gtk_widget_modify_bg() without trouble.  piece of a function:

It works for people who use a decent Gtk+ theme.  But themes
and theme engines can easily make similar things stop working.
Try just

style "default" {
   bg_pixmap[NORMAL] = "someimage"
}
widget_class "*" style "default"

in your gtkrc.

I am afraid the requirement of particular colors goes
directly against themeability.  One cannot have both.

Yeti


--
Anonyms eat their boogers.



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