Progress bar colours



Hi,

I want to use a progress bar to display temperatures and it'd be very useful to be able to make bar change colour to indicate any problems. I've done some reading and the best references (e.g. http://www.mail-archive.com/gtk-list gnome org/msg13767.html and http://markmail.org/message/zirxleljlithtiel) I could find suggest that it should be possible to change the colour of the bar using override_background_color with the state flag PRELIGHT and to change the color of the trough using override_background_color with the state flag NORMAL. However, when I do this, I find that the override_background_color with prelight does nothing and with the normal flag, it changes the colour of both the slider and the trough.

Some of the comments I've seen make it seem as thought this should be done using style files, but I couldn't find anything explaining how.

Any light that anyone could throw on this would be appreciated.

Tom


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