Specifications
Athena Widget Set libXaw 1.0.7
borderWidth The width of this widget’swindowborder.
children A list of all this composite widget’scurrent children.
colormap The colormap that this widget will use.
depth The depth of this widget’swindow.
destroyCallback All functions on this list are called when this widget is destroyed.
height
width The height and width of this widget in pixels.
hSpace
vSpace The amount of space, in pixels, to leave between the children. This
resource specifies the amount of space left between the outermost chil-
dren and the edge of the box.
mappedWhenManaged If this resource is True,then the widget’swindowwill automatically be
mapped by the Toolkit when it is realized and managed.
numChildren The number of children in this composite widget.
orientation Specifies whether the preferred shape of the box (i.e. the result returned
by the query_geometry class method) is tall and narrow XtorientVertical
or short and wide XtorientHorizontal.When the Box is a child of a par-
ent which enforces width constraints, it is usually better to specify Xtori-
entVertical (the default). When the parent enforces height constraints, it
is usually better to specify XtorientHorizontal.Aconverter is regis-
tered for this resource that will convert the following strings: horizontal
and vertical.
screen The screen on which this widget is displayed. This is not a settable
resource.
sensitive Whether or not the toolkit should pass user events to this widget. The
widget will not get input events if either ancestorSensitive or sensitive is
False.
translations The ev e nt bindings associated with this widget.
x
yThe location of the upper left outside corner of this widget in its parent.
6.1.2. Layout Semantics
Each time a child is managed or unmanaged, the Box widget will attempt to reposition the
remaining children to compact the box. Children are positioned in order left to right, top to bot-
tom. The packing algorithm used depends on the orientation of the Box.
XtorientVertical When the next child does not fit on the current row, a new row isstarted.
If a child is wider than the width of the box, the box will request a larger
width from its parent and will begin the layout process from the begin-
ning if a newwidth is granted.
XtorientHorizontal When the next child does not fit on the current row, the Box widens if
possible (so as to keep children on a single row); otherwise a newrow is
started.
After positioning all children, the Box widget attempts to shrink its own size to the minimum
dimensions required for the layout.
6.2. Dialog Widget
Application Header file <X11/Xaw/Dialog.h>
Class Header file <X11/Xaw/DialogP.h>
110