Re: Gtk+ progress bar color
- From: Stefan Salewski <mail ssalewski de>
- To: Rúben Rodrigues <ruben_gr live com pt>, "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: Gtk+ progress bar color
- Date: Wed, 08 Mar 2017 14:53:25 +0100
On Wed, 2017-03-08 at 13:30 +0000, Rúben Rodrigues wrote:
Yes, doesn't work for me.. Because:
gtk_widget_modify_bg(GTK_WIDGET(gtk_builder_get_object(builder,"Menu_
Birds_ProgressBr")),GTK_STATE_NORMAL,
&red);
This changed background color, and this
gtk_widget_modify_fg(GTK_WIDGET(gtk_builder_get_object(builder,"Menu_
Birds_ProgressBar")),GTK_STATE_NORMAL, &red);
Change text color. I want to change bar color..
Well, than we have to ask Mr Bassi or Google :-) Or look at the code...
http://stackoverflow.com/questions/11172804/pygobject-gtk-entry-changing-progress-bar-color
So please try gtk.STATE_PRELIGHT.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]