Re: Changing the foreground color of a progress bar



On 28 Feb 2004, Soeren Sandmann wrote:
Use bg/GTK_STATE_PRELIGHT for the color of the bar
Use fg/GTK_STATE_PRELIGHT for the text on the bar
Use bg/GTK_STATE_NORMAL for the trough
Use fg/GTK_STATE_NORMAL for the text on the trough.

If it doesn't work, then you are doing something else wrong.
Hello,
some time ago I read something about a GTK theme that uses a bitmap to
draw some widget elements. The color of those bitmap elements could not be
changed too. This theme was used by default on redhat linux if I remember
correctly. The solution was to disable this theme.

Regards,
                 Peter
-- 
====================================================================
Peter Krüger

applied software solutions (appss) GmbH
Sandtorstr. 23
D-39106 Magdeburg
Germany

Phone:  +49-(0)391-54486-19388
Fax:    +49-(0)391-54486-19222
email:  krueger appss de
URL:    http://www.appss.de

Managing Director: Uwe Hess, Dietmar Schäfer
Register: HRB12386, AG Mageburg

"Virtual business becomes reality!"

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorised copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
====================================================================




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