Specifications

Athena Widget Set libXaw 1.0.7
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.
reportCallback Alist of functions to invoke wheneverthe managed child widget changes
size or position.
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.5.2. Layout Semantics
The Porthole widget allows its managed child to request anysize that is as large or larger than the
Porthole itself and anylocation so long as the child still obscures all of the Porthole. This widget
typically is used with a Panner widget.
6.5.3. Porthole Callbacks
The functions registered on the reportCallback list are invokedwheneverthe managed child
changes size or position:
void ReportProc(porthole, client_data, report)
Widget porthole;
XtPointer client_data;
XtPointer report;/*(XawPannerReport *) */
porthole Specifies the Porthole widget.
client_data Specifies the client data.
report Specifies a pointer to an XawPannerReport structure containing the location
and size of the slider and the size of the canvas.
6.6. TreeWidget
Application Header file <X11/Xaw/Tree.h>
Class Header file <X11/Xaw/TreeP.h>
Class treeWidgetClass
Class Name Tree
Superclass Constraint
The Tree widget provides geometry management of arbitrary widgets arranged in a directed,
acyclic graph (i.e., a tree). The hierarchyisconstructed by attaching a constraint resource called
treeParent to each widget indicating which other node in the tree should be treated as the wid-
get’ssuperior.The structure of the tree is shown by laying out the nodes in the standard format
for tree diagrams with lines drawn connecting each node with its children.
The Tree sizes itself according to the needs of its children and is not intended to be resized by its
parent. Instead, it should be placed inside another composite widget (such as the Porthole or
Viewport)that can be used to scroll around in the tree.
126