This is a Modula-2 code snip, but I think you get the idea.
rc_style := gtk_rc_style_new();
rc_style^.font_name := YourFontNameGoesHere;
gtk_widget_modify_style(YourWidget, rc_style);
gtk_rc_style_unref(rc_style);
The font name is just like a Gdk font name used for gdk_font_load
Best Regards,
Norman Black
Stony Brook Software
----- Original Message -----
From: "Chris Seberino" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 06, 2002 3:37 PM
Subject: How change size/font of gtk_label_new("TEXT")???
> How change font or size of text for gtk_label_new("TEXT")???
>
> cs
> --
> =======================================================
> | Dr. Christian Seberino || (619) 553-7940 (office) |
> | SPAWARSYSCEN 2363 || (619) 553-2836 (fax) |
> | 53560 HULL ST || |
> | SAN DIEGO CA 92152-5001 || [EMAIL PROTECTED] |
> =======================================================
> _______________________________________________
> gtk-list mailing list
> [EMAIL PROTECTED]
> http://mail.gnome.org/mailman/listinfo/gtk-list
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list