# Label widget

The label widget provides a static display area in which text or bitmap images (Pixmaps) are displayed.

Typically, labels are used to display any pieces of text in a dialog, such as descriptive labels for text areas, or for displaying icons or logos. Labels may be placed in menus to provide unselectable titles for groups of menu items.

Most of the button widgets are based on label and therefore share the same resource panel.

A label may be either a widget or a gadget.

For more information, consult XmLabel(3X) in the OSF/Motif Programmer's Reference.

HINTS

If you set the pixmap for a label, the label will not display it until you also change the label type to be "Pixmap".

If a label (or button etc.) is inside a Row column, the Row column may force the alignment of the widget to a particular value. You should, in this case, not try setting the alignment for the label individually.

See also:

- Push Button widget
- Toggle Button widget
- Label resource panel
- Gadgets
- Row Column widget
- About WorkShop Visual