LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to set various fonts for GTK2 apps? (https://www.linuxquestions.org/questions/linux-software-2/how-to-set-various-fonts-for-gtk2-apps-196289/)

welson_sun 06-22-2004 03:40 AM

How to set various fonts for GTK2 apps?
 
The normal fonts can be set by gtk-2.0/gtkrc or ~/.gtkrc-2.0 in the form of:

Style = "user-font"
{
font_name = "BitStream Vera Sans Mono,Tahoma,NSimSun 9"
}
widget_class "*" style "user-font"

But if I run gtk-demo, you can see that the "Application main window" is very ugly, so it is not using the "user-font" style. How to set the font for this text? Is there a "title-font" or something like that?

http://www.et.byu.edu/~welson/SharedFiles/gtk2.jpg


All times are GMT -5. The time now is 07:01 AM.