Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought



Constraint(3X)                   UNIX System V                   Constraint(3X)


NAME
      Constraint - the Constraint widget class.

SYNOPSIS
      #include <Xm/Xm.h>

DESCRIPTION
      Constraint widgets maintain additional state data for each child.  For
      example, client-defined constraints on the child's geometry may be
      specified.

      When a constrained composite widget defines constraint resources, all of
      that widget's children inherit all of those resources as their own.
      These constraint resources are set and read just the same as any other
      resources defined for the child.  This resource inheritance extends
      exactly one generation down, which means only the first-generation
      children of a constrained composite widget inherit the parent widget's
      constraint resources.

      Because constraint resources are defined by the parent widgets and not
      the children, the child widgets never directly use the constraint
      resource data.  Instead, the parents use constraint resource data to
      attach child-specific data to children.


   Classes
      Constraint inherits behavior and resources from Composite and Core.

      The class pointer is constraintWidgetClass.

      The class name is Constraint.


   New Resources
      Constraint defines no new resources.


   Inherited Resources
      Constraint inherits behavior and resources from Composite and Core.  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







Constraint(3X)                   UNIX System V                   Constraint(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     |  1                   |  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
      There are no translations for Constraint.

RELATED INFORMATION
      Composite(3X) and Core(3X).



Page 2                                                                    10/89







Constraint(3X)                   UNIX System V                   Constraint(3X)
























































10/89                                                                    Page 3





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