Re: Radio button colors




Matthew D Allen <s2mdalle@titan.vcu.edu> writes:

> Is there any way to set the color of the border on a radio button through
> a GtkStyle structure to a certain color?  It seems that the top border
> color is always white (or some shade like that) and the bottom is always
> equivalent to the style.bg[x] color.  (0 <= x < 5) 
> 
> Is there a way to change this without hacking GTK+?

The colors used to draw the radio button borders are:

 style->light[state_type]
 style->bg[state_type]
 style->dark[state_type]
 style->black[state_type]

style->light and style->dark are computed from the background
GC and cannot be set separately. The only way to do something
entirely different would be to write your own theme
engine.

Regards,
                                        Owen



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