Next: Primitive Widget Up: Working with resources Previous: Reading Resources

Label Widget


Class Pointer:  xmLabelWidgetClass
Class Name:     XmLabel
Include File:   <Xm/Label.h>
Superclass:     XmPrimitive
Description:
        Displays a compound string or a pixmap.

Resources:
Name                    Type                    Default
---------------------   ---------------------   ------------------------
XmNshadowThickness      XmRShort                0
XmNalignment            XmRAlignment            XmALIGNMENT_CENTER
XmNlabelType            XmRLabelType            XmString
XmNmarginWidth          XmRShort                2
XmNmarginHeight         XmRShort                2
XmNmarginLeft           XmRShort                0
XmNmarginRight          XmRShort                0
XmNmarginTop            XmRShort                0
XmNmarginBottom         XmRShort                0
XmNfontList             XmRFontList             Fixed
XmNlabelPixmap          XmRPrimForegroundPixmap XmUNSPECIFIED_PIXMAP
XmNlabelInsensitivePixmap XmRPixmap             XmUNSPECIFIED_PIXMAP
XmNlabelString          XmRXmString             NULL
XmNmnemonic             XmRChar                 NULL
XmNaccelerator          XmRString               NULL
XmNacceleratorText      XmRXmString             NULL
XmNrecomputeSize        XmRBoolean              True
XmNstringDirection      XmRStringDirection      XmSTRING_DIRECTION_L_TO_R


morbe@enstb.enst-bretagne.fr