Re: how to set gtk global font with code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux