Re: button background color in gtk3

2012-08-29 Thread Carlos Pereira
Quite often widget colors are just a question of style but sometimes this is not the case. I can think of medical applications, for example, where colors can be critical. In my case, I have a chemical periodic table made with GTK buttons, each one representing a chemical element, with its

Re: button background color in gtk3

2012-08-29 Thread Olivier Sessink
On 08/29/2012 05:17 PM, Carlos Pereira wrote: Quite often widget colors are just a question of style but sometimes this is not the case. I can think of medical applications, for example, where colors can be critical. In my case, I have a chemical periodic table made with GTK buttons, each

Re: button background color in gtk3

2012-08-29 Thread Carlos Pereira
Thanks Olivier, ugly as hell, but definitely an improvement... :-( Carlos On 08/29/2012 05:17 PM, Carlos Pereira wrote: Quite often widget colors are just a question of style but sometimes this is not the case. I can think of medical applications, for example, where colors can be

Re: button background color in gtk3

2012-08-26 Thread Giuseppe Penone
Hi, I faced the same problem some time ago in gtkmm3. I asked a question and then replied myself in this post: http://stackoverflow.com/questions/8952679/gtkmm-3-button-background-color-change You have to use a CSS file (a working example in my code) and import from code to override the gtk3 theme

button background color in gtk3

2012-08-25 Thread Rudra Banerjee
Friends, I am putting gtkbuttons inside a grid with modify_bg. I am getting an odd case that when the window is focused, all buttons are showing white, not what suggested by modify_bg. The same structure was working fine in gtk2 (while I was using table instead of grid). I am posting the complete