GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Change the font

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming
Author Message
javigis
Familiar Face


Joined: 18 May 2007
Posts: 8

PostPosted: Fri Jun 15, 2007 12:11 pm    Post subject: Change the font Reply with quote

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
Back to top
openldev
Never Seen the Sunlight


Joined: 21 Sep 2005
Posts: 376
Location: State College, Pennsylvania

PostPosted: Fri Jun 15, 2007 8:50 pm    Post subject: Reply with quote

gtk_widget_modify_font()
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> GTK+ Programming All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP