Re: Changing the progress bar color



Jerry Mulchin <jmulchin astroguy com> writes:
> I'm trying to change the progress bar's color from the default dark gray
> to various colors, depending on what's going on behind the scenes. Is
> there an easy way to do this, like a gtk function call to just set it?
> 

Set it as you would for any widget, only you are changing the "active"
color instead of the "foreground" color I think.

(The way you'd do it for any widget is to create a GtkRcStyle, set the
bits for the states/colors to change, call gtk_widget_modify_style(),
and unref the rc style.)

Havoc




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