Application Header file | <X11/Constraint.h> |
---|---|
Class Header file | <X11/ConstraintP.h> |
Class | constraintWidgetClass |
Class Name | Constraint |
Superclass | Composit --> Core |
Constraint widget defines a new set ot data (constaint resources) that the application specifies for each child, and the Intrinsics take care of storing information. The parent(constraint widget) exactly defines constaint resources that its child can have and follows its own layout or any other policy base on those resources. The aplication specifies constaint resources for the child just like any other resources. See New Resources Constraint does not define any new resources.
Composit class resources | ||||
---|---|---|---|---|
Name | Class | Type | Notes | Default Value |
children | ReadOnly | WidgetList | C | NULL |
insertPosition | InsertPosition | XtOrderProc | CSG | Insert new children at the end of the child list |
numChildren | ReadOnly | Cardinal | C | 0 |
Core class resources | ||||
---|---|---|---|---|
Name | Class | Type | Notes | Default Value |
accelerators | Accelerators | XtAccelerators | CSG | NULL |
ancestorSensitive | AncestorSensitive | Boolean | G | True |
background | Background | Pixel | CSG | XtDefaultBackground |
backgroundPixmap | Pixmap | Pixmap | CSG | XtUnspecifiedPixmap |
borderColor | BorderColor | Pixel | CSG | XtDefaultForeground |
borderPixmap | Pixmap | Pixmap | CSG | XtUnspecifiedPixmap |
borderWidth | BorderWidth | Dimension | CSG | 1 |
colormap | Colormap | Colormap | CG | Parent's Colormap |
depth | Depth | int | CG | Parent's Depth |
destroyCallback | Callback | XtCallbackList | C | NULL |
height | Height | Dimension | CSG | 0 |
initialResourcesPersistent | InitialResourcesPersistent | Boolean | C | True |
mappedWhenManaged | MappedWhenManaged | Boolean | CSG | True |
screen | Screen | Screen | CG | Parent's Screen |
sensitive | Sensitive | Boolean | CSG | True |
translations | Translations | XtTranslations | CSG | NULL |
width | Width | Dimension | CSG | 0 |
x | Position | Position | CSG | 0 |
y | Position | Position | CSG | 0 |