geany / geany

A fast and lightweight IDE
https://www.geany.org
GNU General Public License v2.0
3.07k stars 593 forks source link

Document Geany themable widget names #1085

Open elextr opened 8 years ago

elextr commented 8 years ago

Geany names some/all of its widgets for theming purposes, but the names are not documented.

codebrainz commented 8 years ago

The names are listed here and their purpose is (to me) obvious:

http://www.geany.org/manual/current/index.html#defining-own-widget-styles-using-gtkrc-2-0

What more do you think would be useful?

elextr commented 8 years ago

Oh neat, @b4n and I missed that. Just needs to be checked it includes them all, and be expanded to include GTK3 theming.

codebrainz commented 8 years ago

I believe GTK+ 3 CSS should "just work" using those class names, for ex:

https://github.com/geany/geany/blob/master/data/geany.css#L13

elextr commented 8 years ago

Good only minimal documentation needed, ATM GTK3 isn't even mentioned. And the location(s) from which the css is read maybe should be noted (as discussed on IRC with @b4n ).

codebrainz commented 8 years ago

IMO, rather than document any details about gtkrc/css we should rather tell the style classes and provide links to the gtkrc and gtkcss docs. No point to re-document what's there, but it'd be useful to give users the starting points for learning about GTK+ theming.

elextr commented 8 years ago

No point to re-document what's there, but it'd be useful to give users the starting points for learning about GTK+ theming.

Yep for sure.