Go to the first, previous, next, last section, table of contents.
Superclass: Constraint
Name Class RepType Default Value
---- ----- ------- -------------
background Background Pixel XtDefaultBackground
border BorderColor Pixel XtDefaultForeground
borderWidth BorderWidth Dimension 1
cursor Cursor Cursor None
destroyCallback Callback Pointer NULL
height Height Dimension 0
mappedWhenManaged MappedWhenManaged Boolean True
sensitive Sensitive Boolean True
width Width Dimension 0
x Position Position 0
y Position Position 0
layout Layout Layout NULL
Syntax of layout resource
*layout:\
<widget-name>.<edge>,<widget-name>.<edge>: distance + stretch-factor\n\
...
where the null widget-name is taken to be the Layout widget
e.g:
*label-1.hStretch: 0
*label-2.vStretch: 1
*layout:\
.left, label-1.left: 10 + 0\n\
label-1.right, label-2.left: 10 + 1\n\
label-2.right, .right: 10 + 0
This layout causes label-1 to be set 10 pixels from the left edge
and be whatever size the label widget requests, while label-2 will
be set 10 pixels from the right edge, and take up half of the remaining
space to 10 pixels from the right edge of label-1.
Go to the first, previous, next, last section, table of contents.