GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Dec 18, 2014 10:32 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Change the font
PostPosted: Fri Jun 15, 2007 12:11 pm 
Offline
Familiar Face

Joined: Fri May 18, 2007 4:40 pm
Posts: 8
Hi all.How can i change the font of a label? This line works to change th font to italic:
gtk_label_set_markup(GTK_LABEL(etiquetastop1),"<span font_desc=\"Italic 10\" foreground=\"red\">Stop1</span>");

But iI would like to change the font to gothic for example.
Thank you a lot in advance.

Javier


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 15, 2007 8:50 pm 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
gtk_widget_modify_font()

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group