ms-windows theme and button colors




Hello all,

I posted this question on 2007/02/06 on the gtk-app-devel-list but didn't get any replies so far, so I try this list - sorry if you get multiple copies!

Since switching from gtk-2.8 to gtk-2.10 I cannot set the colors of
Buttons via a resource file when using the ms-windos theme (on a Win2K system).

With any other theme, I can change the button colors via the resource file.
Does anyone know the reason for this changed behaviour?

I use the following definition in the resource file:

style "blue_button"
{
 bg [PRELIGHT]    = { 0.84, 1.00, 1.00 }
 bg [ACTIVE]      = { 0.84, 1.00, 1.00 }
 bg [NORMAL]      = { 0.48, 0.73, 0.82 }
 bg [INSENSITIVE] = { 0.68, 0.76, 0.82 }
}
widget "*Button*" style "blue_button"

thanks for any hints,
Bernhard


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