Specifications

Athena Widget Set libXaw 1.0.7
void XawTreeForceLayout(w)
Widget w;
w Specifies the Tree widget.
6.7. Viewport Widget
Application Header file <X11/Xaw/Viewport.h>
Class Header file <X11/Xaw/ViewportP.h>
Class viewportWidgetClass
Class Name Viewport
Superclass Form
The Viewport widget consists of a frame window, one or twoScrollbars, and an inner window.
The size of the frame windowisdetermined by the viewing size of the data that is to be displayed
and the dimensions to which the Viewport is created. The inner windowisthe full size of the
data that is to be displayed and is clipped by the frame window. The Viewport widget controls
the scrolling of the data directly.Noapplication callbacks are required for scrolling.
When the geometry of the frame windowisequal in size to the inner window, orwhen the data
does not require scrolling, the Viewport widget automatically removesany scrollbars. The force-
Bars option causes the Viewport widget to display all scrollbars permanently.
6.7.1. Resources
When creating a Viewport widget instance, the following resources are retrievedfrom the argu-
ment list or the resource database:
Name Class Type Notes Default Value
accelerators Accelerators AcceleratorTable NULL
allowHoriz Boolean Boolean False
allowVert Boolean Boolean False
ancestorSensitive AncestorSensitive Boolean D True
background Background Pixel XtDefaultBackground
backgroundPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderColor BorderColor Pixel XtDefaultForeground
borderPixmap Pixmap Pixmap XtUnspecifiedPixmap
borderWidth BorderWidth Dimension 1
children ReadOnly WidgetList R NULL
colormap Colormap Colormap Parent’sColormap
depth Depth int C Parent’sDepth
destroyCallback Callback XtCallbackList NULL
forceBars Boolean Boolean False
height Height Dimension height of the child
mappedWhenManaged MappedWhenManaged Boolean True
numChildren ReadOnly Cardinal R 0
reportCallback ReportCallback XtCallbackList NULL
screen Screen Screen R Parent’sScreen
sensitive Sensitive Boolean True
translations Translations TranslationTable NULL
useBottom Boolean Boolean False
useRight Boolean Boolean False
width Width Dimension width of the child
xPosition Position 0
yPosition Position 0
129