Re: how to set gtk global font with code?
- From: Chris Vine <chris cvine freeserve co uk>
- To: gtk-list gnome org
- Subject: Re: how to set gtk global font with code?
- Date: Mon, 15 Jan 2007 12:42:59 +0000
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]