[Geany-Users] Gtk App Theming

Mike Miller geany-users at xxxxx
Mon Nov 11 20:58:10 UTC 2013


Hi,

Thanks all, have made some progress on theming the sidebar:

style "geanyStyle" {
     # text input
     base[NORMAL] = "#222222"
     text[NORMAL] = "#aaaaaa"
     # etc ...
}
widget "Geany*" style "geanyStyle"
# widget "GeanyDialogSearch.*.GtkEntry" style "geanyStyle"
# widget "GeanyDialog*.*.GtkEntry" style "widgets"  # std colors, doesn't work

It works.  As you can see this themes the search bar and dialog widgets also, 
which is mostly fine.  The only issue that bugs me is that it makes the dialog 
radio/checkbox buttons hard to read.  I tried to reset the dialogs but it didn't 
work.  I'm rarely in the preference dialog these days, so no big deal.

If anyone knows the path to the sidebar widget (or the autocomplete popup menu) 
it would be great.  Or a way to exclude radio/check buttons.  ;)
I didn't find anything in the links below, but may have missed it.

-Mike

> ----------------------------------------------------------------------
> Date: Sat, 09 Nov 2013 21:29:18 -0800
> From: Matthew Brush <mbrush at codebrainz.ca>
> To: users at lists.geany.org
> Subject: Re: [Geany-Users] Gtk App Theming
> Message-ID: <527F19AE.9060909 at codebrainz.ca>
>
> On 13-11-09 09:06 PM, Mike Miller wrote:
>> Hi,
>>
>> I've been digging into Gtk themes recently, and decided I'd like to have
>> geany's sidebar colors match the editor window.  I believe it can be
>> done but need to know the widget names of the tree views under the
>> Symbols and Documents tabs.
>>
>> Anyone have experience with this?
>
> Aside from the manual section Lex mentioned, there's also the gtkrc file:
>
> https://github.com/geany/geany/blob/master/data/geany.gtkrc
>
> As well I think you can access most everything else using names/ids
> found in the Glade file:
>
> https://github.com/geany/geany/blob/master/data/geany.glade
>
> Although we make no promises on the stability of Glade widget names as
> made for plugin API, it's mostly stable.
>
> Cheers,
> Matthew Brush
>
>

-- 
-Mike


  -------------------------------------------------------------
  Mike Miller             Earth, Sol, Orion Arm, Milky Way, VSC


More information about the Users mailing list