[Glade-users] Pangu & Glade questions

Damon Chaplin damon@karuna.uklinux.net
12 Feb 2003 15:35:53 +0000


On Sun, 2003-02-09 at 15:02, Walter H. van Holst wrote:
> Hello,
> 
>  I'd like to use the Pango markup features in buttons and labels. The
> label property dialog has a 'use markup' button, but the tags are still
> literally displayed when I invoke that one.

The tags are displayed literally in the property editor, but should
change the appearance of the actual label widget. Make sure you use
proper XML, i.e. close all tags etc. (e.g. setting the label text to
"<b>label1</b>" shows a bold label for me.)

> Button labels don't have
> that property it seems and I am wondering if it is possible to use Pango
> markup for buttons in Glade2 at all.

You can use markup in buttons, but you need to select "Remove button
contents" from the popup menu, and then add an ordinary label to the
button. If you then select the label, you should see the normal label
properties as above.

Damon