Specifications
Athena Widget Set libXaw 1.0.7
w Specifies the child pane.
min Specifies the newminimum height of the child, expressed in pixels.
max Specifies newmaximum height of the child, expressed in pixels.
This procedure is equivalent to setting the min and max constraint resources for the child.
To retrieve the minimum and maximum height settings for a pane, use XawPanedGetMinMax:
void XawPanedGetMinMax(w, min_return, max_return)
Widget w;
int *min_return, *max_return;
w Specifies the child pane.
min_return Returns the minimum height of the child, expressed in pixels.
max_return Returns the maximum height of the child, expressed in pixels.
This procedure is equivalent to getting the min and max resources for this child child.
To enable or disable automatic recalculation of pane sizes and positions, use XawPanedSetRe-
figureMode:
void XawPanedSetRefigureMode(w, mode)
Widget w;
Boolean mode;
w Specifies the Paned widget.
mode Specifies whether the layout of the Paned widget is enabled (True)ordisabled
(False).
When making several changes to the children of a Paned widget after the Paned has been realized,
it is a good idea to disable relayout until after all changes have been made.
To retrieve the number of panes in a paned widget use XawPanedGetNumSub:
int XawPanedGetNumSub(w)
Widget w;
w Specifies the Paned widget.
This function returns the number of panes in the Paned widget. This is not the same as the num-
ber of children, since the grips are also children of the Paned widget.
6.5. Porthole Widget
Application Header file <X11/Xaw/Porthole.h>
Class Header file <X11/Xaw/PortholeP.h>
Class portholeWidgetClass
Class Name Porthole
Superclass Composite
The Porthole widget provides geometry management of a list of arbitrary widgets, only one of
which may be managed at anyparticular time. The managed child widget is reparented within
the porthole and is movedaround by the application (typically under the control of a Panner wid-
get).
124