Name
XtResizeWidget — resize a child or sibling widget.
Synopsis
void XtResizeWidget(w, width, height, border_width)
Widget w;
Dimension width;
Dimension height;
Dimension border_width;
Arguments
wSpecifies the widget to be resized.
width, height, border_width
Specify the new widget size and border width.
Description
XtResizeWidget is customarily used by a parent to resize its children.
XtResizeWidget returns immediately if the specified geometry fields are the same as the old values. Otherwise, XtResizeWidget writes the new width, height, and border_width values into the widget and, if the widget is realized, issues an Xlib XConfigureWindow call on the widget’s window.
XtResizeWidget calls the specified widget’s resize method to notify it of the size change. The resize method allows the widget to lay out its displayed data to match the new size. If a class need not recalculate anything when it is resized, it can specify NULL for the resize field in its class record. This is an unusual case and should occur only for widgets with trivial display semantics. The resize method takes a widget as its only argument.
See Also
XtConfigureWidget(1), XtMakeGeometryRequest(1), XtQueryGeometry(1), XtResizeWindow(1),
resize(4). .ad