Re: How can I customise GtkLabel text size ?



On Thu, 2004-04-15 at 18:25, walid.test wrote:
Hello,

I would set the Label text with bigger size. Your help will be
well appreciated.

Use pango markup.

GtkWidget* label = gtk_label_new();

gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
gtk_label_set_text( GTK_LABEL(label),
                    "<span size='larger'>hi</span>" );
-- 
Iago Rubio   
- Home page    * http://www.iagorubio.com 
- Last project * http://cssed.sourceforge.net         
- GPG Keyserv  * pgp.rediris.es id=0x909BD4DD

Attachment: signature.asc
Description: This is a digitally signed message part



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