Unix and Linux Discussions Tagged with resize |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
1,478 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
1,995 |
Shell Programming and Scripting |
|
|
|
7 |
10,416 |
Red Hat |
|
|
|
5 |
47,196 |
Red Hat |
|
|
|
4 |
5,906 |
Programming |
|
|
|
1 |
6,540 |
SCO |
|
|
|
2 |
7,484 |
Linux |
|
|
|
20 |
26,321 |
Solaris |
|
|
|
3 |
14,986 |
Solaris |
|
|
|
1 |
12,107 |
UNIX Desktop Questions & Answers |
|
|
|
0 |
10,679 |
Solaris |
|
|
|
1 |
5,317 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
6,533 |
Solaris |
|
|
|
2 |
3,340 |
UNIX Desktop Questions & Answers |
|
|
|
4 |
31,531 |
UNIX for Advanced & Expert Users |
XtResizeWidget() XtResizeWidget()
Name
XtResizeWidget - resize a child widget.
Synopsis
void XtResizeWidget(w, width, height, border_width)
Widget w;
Dimension width;
Dimension height;
Dimension border_width;
Inputs
w Specifies the widget to be resized. Must be of class RectObj or any subclass thereof.
width, height, border_width
Specify the new widget size and border width.
Description
XtResizeWidget() changes the width, height, and border width of w as specified. It stores the new values into the widget record, and if
the widget is realized, calls XConfigureWindow() to change the size of the widget's window. Whether or not the widget is realized, XtRe-
sizeWidget() calls the widget's resize() method to notify it of the size changes.
If the specified size is equal to the current size, XtResizeWidget() returns immediately without calling XConfigureWindow() or the resize()
method.
See resize()(4) for information about the responsibilities of the resize() method.
Usage
XtResizeWidget() should only be used by a parent widget to change the size of its children. If an application wishes to change the size of
a widget, it should set the XtNwidth and XtNheight (and possibly the XtNborderWidth) resources of the widget. If a widget would like to
resize itself, it must request a new size with XtMakeGeometryRequest() or XtMakeResizeRequest().
To move a child widget, use XtMoveWidget(). To move and resize a widget in the same call, use XtConfigureWidget().
See Also
XtConfigureWidget(1), XtMakeGeometryRequest(1), XtMakeResizeRequest(1), XtMoveWidget(1), XtResizeWindow(1),
resize(4).
Xt - Geometry Management XtResizeWidget()