[pygtk] Formatting in labels

Dog Walker thudfoo at gmail.com
Mon Dec 3 04:54:26 WST 2007


On Dec 2, 2007 11:15 AM, Caleb Marcus <caleb.marcus at gmail.com> wrote:
>
>  On Sun, 2007-12-02 at 11:05 +0100, Gian Mario Tagliaretti wrote:
>  2007/12/2, Caleb Marcus <caleb.marcus at gmail.com>:
>
> Hi Caleb,
>
> > I'm trying to format the text in a label in my dialog to match the example
> > text in the image I've attached, which came from the Gnome HIG. How can I
> do
> > this?
>
> From what you said is not clear what is the part you are missing, or
> are you asking for a complete example that reproduce the message box
> in the image?
>
> cheers
>
>  The big bold text at the top.
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>

gtk.Label.set_markup('<b>Make this bold</b>, please')

-- 
I have seen the future and I'm not in it!


More information about the pygtk mailing list