[Glade-users] change the font color and style of label



On Sat, 2007-03-31 at 13:12 +0100, amit bag wrote:
Hi All,
        I want to change the font size and the font style of the label
in glade . I also want to change the color of the letters of the
label . Please tell me how to change the font style and the color .


Use pango markup strings, that means set the "use-markup" property to
TRUE and search "pango markup" on google (or go to gtk.org/api and
find the online docs directly).

Basically you just set the text of the label with some xml markup
that lets you do pretty much anything to the label.

Cheers,
                  -Tristan






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