Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmFrame(3X) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmFrame(3X)                      UNIX System V                      XmFrame(3X)


NAME
      XmFrame - the Frame widget class.


SYNOPSIS
      #include <Xm/Frame.h>


DESCRIPTION
      Frame is a very simple manager used to enclose a single child in a border
      drawn by Frame.  It uses the Manager class resources for border drawing
      and performs geometry management so that its size always matches its
      child's outer size plus the Frame's margins and shadow thickness.

      Frame is most often used to enclose other managers when the application
      developer desires the manager to have the same border appearance as the
      primitive widgets.  Frame can also be used to enclose primitive widgets
      that do not support the same type of border drawing.  This gives visual
      consistency when you develop applications using diverse widget sets.

      If the Frame's parent is a Shell widget, XmNshadowType defaults to
      XmSHADOW_OUT, and Manager's resource XmNshadowThickness defaults to 1.
      If the Frame's parent is not a Shell widget, XmNshadowType defaults to
      XmSHADOW_ETCHED_IN, and Manager's resource XmNshadowThickness defaults to
      2.


   Classes
      Frame inherits behavior and resources from the Core, Composite,
      Constraint, and XmManager classes.

      The class pointer is xmFrameWidgetClass.

      The class name is XmFrame.


   New Resources
      The following table defines a set of widget resources used by the
      programmer to specify data.  The programmer can also set the resource
      values for the inherited classes to set attributes for this widget.  To
      reference a resource by name or by class in a .Xdefaults file, remove the
      XmN or XmC prefix and use the remaining letters.  To specify one of the
      defined values for a resource in a .Xdefaults file, remove the Xm prefix
      and use the remaining letters (in either lowercase or uppercase, but
      include any underscores between words).  The codes in the access column
      indicate if the given resource can be set at creation time (C), set by
      using XtSetValues (S), retrieved by using XtGetValues (G), or is not
      applicable (N/A).






10/89                                                                    Page 1







XmFrame(3X)                      UNIX System V                      XmFrame(3X)


       ______________________________________________________________________
      |                         XmFrame Resource Set                        |
      |________________|_________________|_______________|_________|________|
      | Name           |  Class          |  Type         |  Default|  Access|
      |________________|_________________|_______________|_________|________|
      |________________|_________________|_______________|_________|________|
      | XmNmarginWidth |  XmCMarginWidth |  Dimension    |  0      |  CSG   |
      |________________|_________________|_______________|_________|________|
      | XmNmarginHeight|  XmCMarginHeight|  Dimension    |  0      |  CSG   |
      |________________|_________________|_______________|_________|________|
      | XmNshadowType  |  XmCShadowType  |  unsigned char|  dynamic|  CSG   |
      |________________|_________________|_______________|_________|________|


      XmNmarginWidth
            Specifies the padding space on the left and right sides between
            Frame's child and Frame's shadow drawing.

      XmNmarginHeight
            Specifies the padding space on the top and bottom sides between
            Frame's child and Frame's shadow drawing.

      XmNshadowType
            Describes the drawing style for Frame.  This resource can have the
            following values:

      ⊕  XmSHADOW_IN - draws Frame so that it appears inset. This means that
         the bottom shadow visuals and top shadow visuals are reversed.

      ⊕  XmSHADOW_OUT - draws Frame so that it appears outset.  This is the
         default if Frame's parent is a Shell widget.

      ⊕  XmSHADOW_ETCHED_IN - draws Frame using a double line giving the effect
         of a line etched into the window.  The thickness of the double line is
         equal to the value of XmNshadowThickness.  This is the default when
         Frame's parent is not a Shell widget.

      ⊕  XmSHADOW_ETCHED_OUT - draws Frame using a double line giving the
         effect of a line coming out of the window.  The thickness of the
         double line is equal to the value of XmNshadowThickness.


   Inherited Resources
      Frame inherits behavior and resources from the following superclasses.
      For a complete description of each resource, refer to the man page for
      that superclass.








Page 2                                                                    10/89







XmFrame(3X)                      UNIX System V                      XmFrame(3X)


_________________________________________________________________________________________________________
|                                        XmManager Resource Set                                         |
|_____________________|_____________________________|___________________|______________________|________|
|Name                 |  Class                      |  Type             |  Default             |  Access|
|_____________________|_____________________________|___________________|______________________|________|
|_____________________|_____________________________|___________________|______________________|________|
|XmNbottomShadowColor |  XmCBottomShadowColor       |  Pixel            |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNbottomShadowPixmap|  XmCBottomShadowPixmap      |  Pixmap           |  XmUNSPECIFIED_PIXMAP|  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNforeground        |  XmCForeground              |  Pixel            |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNhelpCallback      |  XmCCallback                |  XtCallbackList   |  NULL                |  C     |
|_____________________|_____________________________|___________________|______________________|________|
|XmNhighlightColor    |  XmCHighlightColor          |  Pixel            |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNhighlightPixmap   |  XmCHighlightPixmap         |  Pixmap           |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNnavigationType    |  XmCNavigationType          |  XmNavigationType |  XmTAB_GROUP         |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNshadowThickness   |  XmCShadowThickness         |  Dimension        |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNstringDirection   |  XmCStringDirection         |  XmStringDirection|  dynamic             |  CG    |
|_____________________|_____________________________|___________________|______________________|________|
|XmNtopShadowColor    |  XmCBackgroundTopShadowColor|  Pixel            |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNtopShadowPixmap   |  XmCTopShadowPixmap         |  Pixmap           |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNtraversalOn       |  XmCTraversalOn             |  Boolean          |  True                |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNunitType          |  XmCUnitType                |  unsigned char    |  dynamic             |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|
|XmNuserData          |  XmCUserData                |  Pointer          |  NULL                |  CSG   |
|_____________________|_____________________________|___________________|______________________|________|

    _______________________________________________________________________
   |                        Composite Resource Set                        |
   |__________________|___________________|____________|_________|________|
   | Name             |  Class            |  Type      |  Default|  Access|
   |__________________|___________________|____________|_________|________|
   |__________________|___________________|____________|_________|________|
   | XmNchildren      |  XmCReadOnly      |  WidgetList|  NULL   |  G     |
   |__________________|___________________|____________|_________|________|
   | XmNinsertPosition|  XmCInsertPosition|  (*)()     |  NULL   |  CSG   |
   |__________________|___________________|____________|_________|________|
   | XmNnumChildren   |  XmCReadOnly      |  Cardinal  |  0      |  G     |
   |__________________|___________________|____________|_________|________|







10/89                                                                    Page 3







XmFrame(3X)                      UNIX System V                      XmFrame(3X)


________________________________________________________________________________________________________________
|                                              Core Resource Set                                               |
|_____________________________|_______________________________|________________|______________________|________|
|Name                         |  Class                        |  Type          |  Default             |  Access|
|_____________________________|_______________________________|________________|______________________|________|
|_____________________________|_______________________________|________________|______________________|________|
|XmNaccelerators              |  XmCAccelerators              |  XtAccelerators|  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNancestorSensitive         |  XmCSensitive                 |  Boolean       |  dynamic             |  G     |
|_____________________________|_______________________________|________________|______________________|________|
|XmNbackground                |  XmCBackground                |  Pixel         |  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNbackgroundPixmap          |  XmCPixmap                    |  Pixmap        |  XmUNSPECIFIED_PIXMAP|  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNborderColor               |  XmCBorderColor               |  Pixel         |  XtDefaultForeground |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNborderPixmap              |  XmCPixmap                    |  Pixmap        |  XmUNSPECIFIED_PIXMAP|  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNborderWidth               |  XmCBorderWidth               |  Dimension     |  0                   |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNcolormap                  |  XmCColormap                  |  Colormap      |  dynamic             |  CG    |
|_____________________________|_______________________________|________________|______________________|________|
|XmNdepth                     |  XmCDepth                     |  int           |  dynamic             |  CG    |
|_____________________________|_______________________________|________________|______________________|________|
|XmNdestroyCallback           |  XmCCallback                  |  XtCallbackList|  NULL                |  C     |
|_____________________________|_______________________________|________________|______________________|________|
|XmNheight                    |  XmCHeight                    |  Dimension     |  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNinitialResourcesPersistent|  XmCInitialResourcesPersistent|  Boolean       |  True                |  C     |
|_____________________________|_______________________________|________________|______________________|________|
|XmNmappedWhenManaged         |  XmCMappedWhenManaged         |  Boolean       |  True                |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNscreen                    |  XmCScreen                    |  Screen *      |  dynamic             |  CG    |
|_____________________________|_______________________________|________________|______________________|________|
|XmNsensitive                 |  XmCSensitive                 |  Boolean       |  True                |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNtranslations              |  XmCTranslations              |  XtTranslations|  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNwidth                     |  XmCWidth                     |  Dimension     |  dynamic             |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNx                         |  XmCPosition                  |  Position      |  0                   |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|
|XmNy                         |  XmCPosition                  |  Position      |  0                   |  CSG   |
|_____________________________|_______________________________|________________|______________________|________|


   Translations
      XmFrame inherits translations from XmManager.

RELATED INFORMATION
      Composite(3X), Constraint(3X), Core(3X), XmCreateFrame(3X), and
      XmManager(3X).


Page 4                                                                    10/89





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026