XtMoveWidget() XtMoveWidget()
Name
XtMoveWidget - move a widget within its parent.
Synopsis
void XtMoveWidget(w, x, y)
Widget w;
Position x;
Position y;
Inputs
w Specifies the widget to be moved; must be of class RectObj or any subclass thereof.
x, y Specify the new widget x and y coordinates.
Description
XtMoveWidget() returns immediately if the specified geometry fields for the widget are the same as the current values. Otherwise,
XtMoveWidget() writes the new x and y values into the widget and, if the widget is realized, issues an Xlib XMoveWindow() call on the wid-
get's window.
Usage
XtMoveWidget() should only be used in widget code when a parent widget wants to move one of its children. If an application wants to move
a widget, it should set the XtNx and XtNy resources on the widget. If a widget wants to move itself, it must request that change of its
parent by calling XtMakeGeometryRequest().
To move and resize a child widget, use XtConfigureWidget(). To simply resize a child widget, use XtResizeWidget().
See Also
XtConfigureWidget(1), XtMakeGeometryRequest(1), XtResizeWidget(1).
Xt - Geometry Management XtMoveWidget()