[Geany] Minor question about Geany GTK theme tweaking on Windows

Matthew Brush matthewbrush at xxxxx
Sat Feb 26 06:09:22 UTC 2011


On 02/25/11 20:46, Len Philpot wrote:
> This is completely trivial, but maybe it's an easy answer. It has 
> (AFAIK) to do with GTK theming, but I'm seeing it only on Geany.
>
> I run Geany on both RHEL and Windows (Vista currently ... grrr :-). On 
> Windows, under the Classic Windows theme the background of the 
> highlighted menu item picks up the default selection color properly, 
> but the foreground (text) remains black. I've looked over the GTK 
> site, etc., played with C:\Program Files\Geany\etc\gtk-2.0\gtkrc 
> (msw-default style definition) and managed to affect a few things here 
> and there. But I was never successful in changing the hightlighted 
> menu text color. Looking through the GTK docs for the proper way to do 
> this reminds me a bit of asking how to get across town and being told 
> how to build a car.  :-)
>
> Does anyone know offhand what needs to be set to accomplish what I'm 
> trying to do?
I think its:

     style "menu" ...
     {
         ...
         fg[PRELIGHT] = <color>
         ...
     }

And/or:

      style "menu-item" ...
     {
          ...
          fg[PRELIGHT] = <color>
          ...
     }

Just looking at one of the gtkrc files on my system.

Cheers,
Matthew Brush



More information about the Users mailing list