Re: How change size/font of gtk_label_new("TEXT")???
- From: "Norman Black" <stonybrk ix netcom com>
- To: "Chris Seberino" <seberino spawar navy mil>
- Cc: "gtk-list" <gtk-list gnome org>
- Subject: Re: How change size/font of gtk_label_new("TEXT")???
- Date: Thu, 7 Feb 2002 08:27:31 -0800
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" <seberino spawar navy mil>
To: <gtk-list gnome org>
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 || seberino spawar navy mil |
> =======================================================
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]