sure:

GtkWidget *progress_bar;
GdkColor color;
    
/* set "color" to your desired color, see
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Colormaps-and-Colors.html#id2611333
*/

gtk_widget_modify_bg(progress_bar, GTK_STATE_PRELIGHT, &color);

at least, this is the way it worked a year ago or so (gtk+2, to be
sure).

gyözö

> Hi is it possible to change the colour of the bar in a progress bar?
> 
> Cheers.
> 
> --
> -- Yiannis
> 


-- 
Q:      What do monsters eat?
A:      Things.

Q:      What do monsters drink?
A:      Coke.  (Because Things go better with Coke.)
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to