Re: Label Font Size



Le mar 15/06/2004 à 20:18, Chris W a écrit :
> How do I change the relative font size for a label?  I am writing a 
> calculator simulator and want the font to be significantly bigger than 
> standard labels.

You have several possibilities:
- use gtk_widget_modify_font
- use gtk_label_set_markup (see Pango Text Attribute Markup Language
documentation)
- use GtkSettings for your label (retrieve the appropriate one with
gtk_widget_get_settings)

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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