Specifications

Athena Widget Set libXaw 1.0.7
6.4.4.4. Special Considerations
When a user resizes a pane with the grips, the Paned widget assumes that this newsize is the pre-
ferred size of the pane.
6.4.5. Grip Translations
The Paned widget has no action routines of its own, as all actions are handled through the grips.
The grips are each assigned a default Translation table.
<Btn1Down>: GripAction(Start, UpLeftPane)
<Btn2Down>: GripAction(Start, ThisBorderOnly)
<Btn3Down>: GripAction(Start, LowRightPane)
<Btn1Motion>: GripAction(Move,UpLeftPane)
<Btn2Motion>: GripAction(Move,ThisBorderOnly)
<Btn3Motion>: GripAction(Move,LowRightPane)
Any<BtnUp>: GripAction(Commit)
The Paned widget interprets the GripAction as taking twoarguments. The first argument may be
anyofthe following:
Start Sets up the Paned widget for resizing and changes the cursor of the grip. The
second argument determines which pane will be resized, and can takeonany of
the three values shown above.
Move The internal borders are drawn overthe current pane locations to animate where
the borders would actually be placed if you were to move this border as shown.
The second argument must match the second argument that was passed to the
Start action, that beganthis process. If these arguments are not passed, the
behavior is undefined.
Commit This argument causes the Paned widget to commit the changes selected by the
previously started action. The cursor is changed back to the grip’sinactive cur-
sor.Nosecond argument is needed in this case.
6.4.6. Convenience Routines
To enable or disable a child’srequest for pane resizing, use XawPanedAllowResize:
void XawPanedAllowResize(w, allow_resize)
Widget w;
Boolean allow_resize;
w Specifies the child pane.
allow_resize Specifies whether or not resizing requests for this child will be granted by the
Paned widget.
If allow_resize is True,the Paned widget allows geometry requests from the child to change the
pane’sheight. If allow_resize is False,the Paned widget ignores geometry requests from the child
to change the pane’sheight. The default state is True before the Pane is realized and False after it
is realized. This procedure is equivalent to changing the allowResize constraint resource for the
child.
To change the minimum and maximum height settings for a pane, use XawPanedSetMinMax:
void XawPanedSetMinMax(w, min, max)
Widget w;
int min, max;
123