Emphasizing a gtk.Label

MonkeeSage MonkeeSage at gmail.com
Mon Sep 25 19:32:29 CEST 2006


ravenheart wrote:
> What would be the best solution? How to do it? I have found how to
> change colors and underscoring but nothing else.

I don't know about the best, but I would use:

label = gtk.Label()
# Pango markup should be on by default, if not use this line
#label.set_use_markup(True)
label.set_markup("<b>Look, I'm bold</b>")

Regards,
Jordan




More information about the Python-list mailing list