Specifications
Athena Widget Set libXaw 1.0.7
Edge Type Resource Name Description
XawChainTop ChainTop Edge remains a fixed distance from top of Form
XawRubber Rubber Edges will move a proportional distance
6.3.3.1. Example
If you wish to force the Form to neverresize one or more of its children, then set left and right to
XawChainLeft and top and bottom to XawChainTop.This will cause the child to remain a
fixed distance from the top and left edges of the Form, and nevertoresize.
6.3.4. Convenience Routines
To force or defer a re-layout of the Form, use XawFormDoLayout.
void XawFormDoLayout(w, do_layout)
Widget w;
Boolean do_layout;
w Specifies the Form widget.
do_layout Specifies whether the layout of the Form widget is enabled (True)ordisabled
(False).
When making several changes to the children of a Form widget after the Form has been realized,
it is a good idea to disable relayout until after all changes have been made.
6.4. Paned Widget
Application Header file <X11/Xaw/Paned.h>
Class Header file <X11/Xaw/PanedP.h>
Class panedWidgetClass
Class Name Paned
Superclass Constraint
The Paned widget manages children in a vertically or horizontally tiled fashion. The panes may
be dynamically resized by the user by using the grips that appear near the right or bottom edge of
the border between twopanes.
The Paned widget may accept anywidget class as a pane except Grip. Grip widgets have a spe-
cial meaning for the Paned widget, and adding a Grip as its own pane will confuse the Paned wid-
get.
6.4.1. Using the Paned Widget
The grips allowthe panes to be resized by the user.The semantics of howthese panes resize is
somewhat complicated, and warrants further explanation here. When the mouse pointer is posi-
tioned on a grip and pressed, an arrowisdisplayed that indicates the pane that is to be to be
resized. While keeping the mouse button down, the user can move the grip up and down (or left
and right). This, in turn, changes the size of the pane. The size of the Paned widget will not
change. Instead, it chooses another pane (or panes) to resize. For more details on which pane it
chooses to resize, see Layout Semantics.
One pointer binding allows the border between twopanes to be moved, without affecting anyof
the other panes. When this occurs the pointer will change to an arrowthat points along the pane
border.
118