Re: Gtk+ progress bar color

2017-03-08 Thread Rúben Rodrigues
Thanks for your help... Yes i don't understand why gtk doesn't aloow us to do some "basic" things.. On 08-03-2017 14:52, Stefan Salewski wrote: > On Wed, 2017-03-08 at 14:18 +, Rúben Rodrigues wrote: >> I asked to the Google before, but he don't give me nothing about >> this >> :-). PRELIGH

Re: Gtk+ progress bar color

2017-03-08 Thread Eric Cashon via gtk-app-devel-list
If the default progress bar in GTK isn't what you are looking for then you can always make your own. You can design it how you want easy enough with a drawing area. With GTK3 you have OpenGL, Cairo, gradients, tensor-product patch meshes, etc. to draw with. You even have a frame clock for smo

Re: Gtk+ progress bar color

2017-03-08 Thread Stefan Salewski
On Wed, 2017-03-08 at 15:23 +, Emmanuele Bassi wrote: > Sorry, we haven't yet found the way to write a `gtk_do_what_i_mean()` > function. > > > But we have to tell them: We should not > > do that, it may be possible with CSS... So we have no Kids in GTK > for > > more than 10 years now, so so

Re: Gtk+ progress bar color

2017-03-08 Thread Phil Wolff
On 03/08/2017 07:23 AM, Emmanuele Bassi wrote: Sorry, we haven't yet found the way to write a `gtk_do_what_i_mean()` function. You aim too low; try for gtk_do_what_i_should_have_meant (). ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.or

Re: Gtk+ progress bar color

2017-03-08 Thread Emmanuele Bassi
On 8 March 2017 at 15:11, Stefan Salewski wrote: > On Wed, 2017-03-08 at 15:00 +, Rúben Rodrigues wrote: >> Thanks for your help... Yes i don't understand why gtk doesn't aloow >> us >> to do some "basic" things.. You're explicitly asking about GTK+ 2.x, whose API was last updated 6 years ago

Re: Gtk+ progress bar color

2017-03-08 Thread Rúben Rodrigues
I tried before run my app with different them like black but don't works. So if we don't should change the colors, why themes doesn't change too? On 08-03-2017 15:11, Stefan Salewski wrote: > On Wed, 2017-03-08 at 15:00 +, Rúben Rodrigues wrote: >> Thanks for your help... Yes i don't unders

Re: Gtk+ progress bar color

2017-03-08 Thread Rúben Rodrigues
Works for me too. Thank you! On 08-03-2017 15:02, Stefan Salewski wrote: > On Wed, 2017-03-08 at 15:52 +0100, Stefan Salewski wrote: >> On Wed, 2017-03-08 at 14:18 +, Rúben Rodrigues wrote: >>> I asked to the Google before, but he don't give me nothing about >>> this >>> :-). PRELIGHT doesn't

Re: Gtk+ progress bar color

2017-03-08 Thread Stefan Salewski
On Wed, 2017-03-08 at 15:00 +, Rúben Rodrigues wrote: > Thanks for your help... Yes i don't understand why gtk doesn't aloow > us  > to do some "basic" things.. Well, the GTK senior developers will say that such "color hacks" are ugly and do not fit theming well. That may be true. But the Prob

Re: Gtk+ progress bar color

2017-03-08 Thread Stefan Salewski
On Wed, 2017-03-08 at 15:52 +0100, Stefan Salewski wrote: > On Wed, 2017-03-08 at 14:18 +, Rúben Rodrigues wrote: > > > > I asked to the Google before, but he don't give me nothing about > > this  > > :-). PRELIGHT doesn't work too.. > >  Well, the fix suggested by Owen Taylor in that old th

Re: Gtk+ progress bar color

2017-03-08 Thread Stefan Salewski
On Wed, 2017-03-08 at 14:18 +, Rúben Rodrigues wrote: > I asked to the Google before, but he don't give me nothing about > this  > :-). PRELIGHT doesn't work too.. Yes, you are right. I just took this example: https://www.spinics.net/lists/gtk/msg00686.html //gcc -o simple t.c `pkg-config -

Re: Gtk+ progress bar color

2017-03-08 Thread Rúben Rodrigues
I asked to the Google before, but he don't give me nothing about this :-). PRELIGHT doesn't work too.. On 08-03-2017 13:53, Stefan Salewski wrote: > On Wed, 2017-03-08 at 13:30 +, Rúben Rodrigues wrote: >> Yes, doesn't work for me.. Because: >> >> gtk_widget_modify_bg(GTK_WIDGET(gtk_builder

Re: Gtk+ progress bar color

2017-03-08 Thread Stefan Salewski
On Wed, 2017-03-08 at 13:30 +, 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(GT

Re: Gtk+ progress bar color

2017-03-08 Thread Rúben Rodrigues
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_

Re: Gtk+ progress bar color

2017-03-08 Thread Stefan Salewski
On Wed, 2017-03-08 at 12:29 +, Rúben Rodrigues wrote: > Hi, > > Thanks. Yes i want to change in gtk 2.x and change it in my app > only.  > There's no way in proprieties? Do the ordinary GTK2 functions not work for your case? Like gtk_widget_modify_fg() and gtk_widget_modify_bg() https://dev

Re: Gtk+ progress bar color

2017-03-08 Thread Rúben Rodrigues
Hi, Thanks. Yes i want to change in gtk 2.x and change it in my app only. There's no way in proprieties? On 07-03-2017 19:48, Stefan Salewski wrote: > On Tue, 2017-03-07 at 15:43 +, Rúben Rodrigues wrote: >>> Hi guys, >>> >>> How can i change progress bar color? >>> >>> Thanks >>> >> > For

Re: Gtk+ progress bar color

2017-03-07 Thread Stefan Salewski
On Tue, 2017-03-07 at 15:43 +, Rúben Rodrigues wrote: > > > > Hi guys, > > > > How can i change progress bar color? > > > > Thanks > > > > For GTK 3.20 and above you can do it, using CSS. I did a similar fix for scrollbar width for my 27 inch 4 display. I think I wrote how I did it here

Gtk+ progress bar color

2017-03-07 Thread Rúben Rodrigues
> Hi guys, > > How can i change progress bar color? > > Thanks > ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list