How to access the theming Fonts and Colors on GTK/Gnome
- by Lothar
Lets say i want to write a special text editor widget.
How can i get the default themed colors for texts,
selected text and background and which are the users default
fonts?
I see that GNOME does define 5 special system fonts and default sizes
for this purpose in the GNOME Appearance Configuration dialog,
but i haven't found a single word in the GTK documentation how to
access them (and the GTK mailing list is a joke:-( ).
Windows and Cocoa both give me dozens of system values.
I found the GtkStyle class but this doesn't seem to be what i need.