Next: Core Widget Up: Working with resources Previous: Label Widget

Primitive Widget

[This is included because a label widget inherits these resources as well - on any label widget, because it is made from a primitive widget, you can set and read the resources shown for a primitve widget.]


Class Pointer:  xmPrimitiveWidgetClass
Class Name:     XmPrimitive
Superclass:     XmCore
Description:
        All Motif widgets are built from primitve widgets (and therefore
        all have the resources listed below).

Resources:
Name                    Type                    Default
---------------------   ---------------------   ------------------------
XmNforeground           XmRPixel                dynamic
XmNbackground           XmRPixel                dynamic
XmNbackgroundPixmap     XmRPixmap               XmUNSPECIFIED_PIXMAP
XmNborderWidth          XmRDimension            0
XmNtraversalOn          XmRBoolean              FALSE
XmNhighlightOnEnter     XmRBoolean              FALSE
XmNunitType             XmRUnitType             0
XmNHighlightThickness   XmRShort                0
XmNhighlightColor       XmRPixel                Black
XmNhighlightPixmap      XmRPrimHighlightPixmap  dynamic
XmNshadowThickness      XmRShort                2
XmNtopShadowColor       XmRPixel                dynamic
XmNtopShadowPixmap      XmRPrimtopShadowPixmap  dynamic
XmNbottomShadowColor    XmRPixel                dynamic
XmNbottomShadowPixmap   XmRPrimBottomShadowPixmap XmUNSPECIFIED_PIXMAP
XmNuserData             XmRPointer              NULL

Callbacks:
Callback List           Call Data Type          Reason
---------------------   ---------------------   -------------------------
XmNhelpCallback         XmAnyCallbackStruct     XmCR_HELP


morbe@enstb.enst-bretagne.fr