*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> Constraint (3X)              
Title
Content
Arch
Section
 

Constraint(3X)

Contents


NAME    [Toc]    [Back]

       Constraint - The Constraint widget class

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Xm.h>


DESCRIPTION    [Toc]    [Back]

       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  firstgeneration
  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    [Toc]    [Back]
       Constraint inherits behavior and resources from  Composite
       and Core.

       The class pointer is constraintWidgetClass.

       The class name is Constraint.

   New Resources    [Toc]    [Back]
       Constraint defines no new resources.

   Inherited Resources    [Toc]    [Back]
       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).

       Core Resource Set    [Toc]    [Back]

       Class: XmCAccelerators
       Default: dynamic
       Type:  XtAccelerators
       Access: CSG
       Class: XmCSensitive
       Default: dynamic
       Type:  Boolean
       Access: G
       Class: XmCBackground
       Default: dynamic
       Type:  Pixel
       Access: CSG
       Class: XmCPixmap
       Default: XmUNSPECIFIED_PIXMAP
       Type:  Pixmap
       Access: CSG
       Class: XmCBorderColor
       Default: XtDefaultForeground
       Type:  Pixel
       Access: CSG
       Class: XmCPixmap
       Default: XmUNSPECIFIED_PIXMAP
       Type:  Pixmap
       Access: CSG
       Class: XmCBorderWidth
       Default: 1
       Type:  Dimension
       Access: CSG
       Class: XmCColormap
       Default: dynamic
       Type:  Colormap
       Access: CG
       Class: XmCDepth
       Default: dynamic
       Type:  int
       Access: CG
       Class: XmCCallback
       Default: NULL
       Type:  XtCallbackList
       Access: C
       Class: XmCHeight
       Default: dynamic
       Type:  Dimension
       Access: CSG
       Class: XmCInitialResourcesPersistent
       Default: True
       Type:  Boolean
       Access: C
       Class: XmCMappedWhenManaged
       Default: True
       Type:  Boolean
       Access: CSG
       Class: XmCScreen
       Default: dynamic
       Type:  Screen *
       Access: CG
       Class: XmCSensitive
       Default: True
       Type:  Boolean
       Access: CSG
       Class: XmCTranslations
       Default: dynamic
       Type:  XtTranslations
       Access: CSG
       Class: XmCWidth
       Default: dynamic
       Type:  Dimension
       Access: CSG
       Class: XmCPosition
       Default: 0
       Type:  Position
       Access: CSG
       Class: XmCPosition
       Default: 0
       Type:  Position
       Access: CSG


   Translations    [Toc]    [Back]
       There are no translations for Constraint.

SEE ALSO    [Toc]    [Back]

      
      
       Composite(3X), Core(3X)



                                                   Constraint(3X)
[ Back ]
 Similar pages
Name OS Title
XmFileSelectionBox Tru64 The FileSelectionBox widget class
XmForm Tru64 The Form widget class
XmFrame Tru64 The Frame widget class
XmGadget Tru64 The Gadget widget class
Core Tru64 The Core widget class
Composite Tru64 The Composite widget class
ApplicationShell Tru64 The ApplicationShell widget class
tmframe IRIX the Frame widget class
tmform IRIX the Form widget class
XmLabel Tru64 The Label widget class
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service