POSITION(3A) POSITION(3A)
NAME
PositionBeneath, PositionCenter, PositionNear, PositionOver,
PositionRootCenter - set the position of a widget relative
to another widget
SYNOPSIS
#include <X11/Intrinisc.h>
PositionBeneath (source, new)
Widget sourceWidget;
Widget newWidget;
PositionCenter (source, new)
Widget sourceWidget;
Widget newWidget;
PositionNear (source, new)
Widget sourceWidget;
Widget newWidget;
PositionOver (source, new)
Widget sourceWidget;
Widget newWidget;
PositionRootCenter (new)
Widget sourceWidget;
Widget newWidget;
DESCRIPTION
PositionBeneath positions the new widget immediately beneath
the source widget. The left edges are aligned.
PositionCenter positions the new widget centered over the
source widget.
PositionNear positions the new widget near the source
widget. It follows the guidelines in the ""Determining
DialogBox Location and Size"" section of the ""Application
Design Principles"" of the OSF/Motif Style Guide. It tries
Page 1 (printed 9/3/91)
POSITION(3A) POSITION(3A)
to place the new widget to the right, left, beneath, or
above the source widget, in that order, depending on the
space available on the screen.
PositionOver positions the new widget centered over the
source widget. The top left corners are the same.
PositionRootCenter position the new widget centered over the
root window.
In all cases, the new widget should be realized, and the
source widget should be mapped.
SEE ALSO
OSF/Motif Style Guide.
Page 2 (printed 9/3/91)