[Glade-users] Use Markup in Glade




Well, in my python code I use
pangoFont = pango.FontDescription("Verdana 12")
myLabel.modify_font(pangoFont)
 
and it does modify the font no matter if I do set 'Use Markup' in Glade or don't. So, the question is, is 
this the right way to do things: just set font in the code like above and don't set 'Use Markup' in Glade?
 
Thanks,
Arthur.
 
Date: Thu, 21 Oct 2010 11:17:56 -0300
From: john at jcoppens.com
To: glade-users at lists.ximian.com
Subject: Re: [Glade-users] Use Markup in Glade

On Thu, 21 Oct 2010 12:29:21 +0000
Arthur Shats <ashats at hotmail.com> wrote:

I see that Glade has 'Use Markup' property.

Check the Pango Reference Manual, chapter "Pango Text Attribute Markup
Language". 

'Use Markup' just enables the markup.

John
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
                                          
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20101022/fed4c074/attachment.html 




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