Hi,

Am Sonntag, den 08.05.2005, 22:42 +0200 schrieb Gian Mario Tagliaretti:
> 2005/5/8, Danny Milosavljevic <[EMAIL PROTECTED]>:
> 
> > I'm trying to use the bold attribute on f.e. labels (without using
> > markup).
> > 
> >[snip]
> 
> this little example can maybe help:

> [...]
> PLIST = pango.AttrList()
> BOLD = pango.AttrWeight(pango.WEIGHT_HEAVY, 0, -1)
> ITALIC = pango.AttrStyle(pango.STYLE_ITALIC, 0, -1)
> PLIST.insert(BOLD)
> PLIST.insert(ITALIC)
> l.set_property("attributes", PLIST)
> [...]

yes, indeed.

Thank you 

cheers,
   Danny


-- 
www.keyserver.net key id A334AEA6

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to