[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Re: how to set gtk global font with code?



On Wednesday 10 January 2007 03:27, lonelycat wrote:
>   Hi all:
>
>  Can anyone tell me how to set gtk global font with code instead of editing
> gtkrc file?

GtkSettings has a "gtk-font-name" property representing the default font used 
by the application.  You can extract the settings object with 
gtk_settings_get_default() and then set the property on it.

Chris

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[GIMP Users]     [Yosemite News]    [Yosemite Photos]    [Gimp's Home]     [Steve's Art]

Add to Google Powered by Linux