The Label resource panel is used to set resources for Label, Push Button, Toggle Button, Drawn Button and Cascade Button widgets.
Since there is a large number of resources which can be set for a label widget, the Label resource panel is laid out in pages. At the top of the panel is a set of Tab Buttons used for selecting between the logical pages.
The Display page contains resources which affect the appearance of the widget: these are mostly pixmap, font, color and label string resources.
The Keyboard page contains resources which are only applicable in certain circumstances, for example, when the label is in fact a button widget. The Keyboard resources allow you to specify the means of activating the widget without recourse to the mouse.
The Margins page allows you to specify the widths and heights of various kinds of spacing around the label widget.
The Settings page contains various boolean and scalar valued resources, for example, whether the label is represented by a string, or a pixmap.
For the fonts and pixmaps in the label resource panel, you can type the font or pixmap names in directly, or click on the buttons on the left to display the Font or Pixmap Selector dialog.
XmString resources (the label string for example) can either be typed in directly, or you can click on the resource button to use the XmString Editor. Do this if you require a multi-font string or a compound string with a specified direction.
Callbacks can be registered for the widget by selecting the Callbacks... option from the X-Designer Widget menu. Note that callbacks will only be available in certain contexts, generally for derived widget classes like the PushButton or ToggleButton, rather than for the Label widget itself.
If you cannot find the resource you want to set in this resource panel, it may be found in the Core Resources Panel (selected from the Widget menu at the top of the X-Designer Window).
NOTES
If you specify the pixmap for a label, the pixmap will not be displayed on the label unless you also change the label type to be "Pixmap". The label Type resource is found on the settings page.
See also: