1XtConfigureWidget(3x)            XT FUNCTIONS            XtConfigureWidget(3x)
2
3
4

NAME

6       XtConfigureWidget, XtMoveWidget, XtResizeWidget - move and resize wid‐
7       gets
8

SYNTAX

10       void XtConfigureWidget(Widget w, Position x, Position y, Dimension
11              width, Dimension height, Dimension border_width);
12
13       void XtMoveWidget(Widget w, Position x, Position y);
14
15       void XtResizeWidget(Widget w, Dimension width, Dimension height, Dimen‐
16              sion border_width);
17
18       void XtResizeWindow(Widget w);
19

ARGUMENTS

21       width
22       height
23       border_width
24                 Specify the new widget size.
25
26       w         Specifies the widget.
27
28       x
29       y         Specify the new widget x and y coordinates.
30

DESCRIPTION

32       The XtConfigureWidget function returns immediately if the specified
33       geometry fields are the same as the old values.  Otherwise,
34       XtConfigureWidget writes the new x, y, width, height, and border_width
35       values into the widget and, if the widget is realized, makes an Xlib
36       XConfigureWindow call on the widget's window.
37
38       If either the new width or height is different from its old value,
39       XtConfigureWidget calls the widget's resize procedure to notify it of
40       the size change; otherwise, it simply returns.
41
42       The XtMoveWidget function returns immediately if the specified geometry
43       fields are the same as the old values.  Otherwise, XtMoveWidget writes
44       the new x and y values into the widget and, if the widget is realized,
45       issues an Xlib XMoveWindow call on the widget's window.
46
47       The XtResizeWidget function returns immediately if the specified geome‐
48       try fields are the same as the old values.  Otherwise, XtResizeWidget
49       writes the new width, height, and border_width values into the widget
50       and, if the widget is realized, issues an XConfigureWindow call on the
51       widget's window.
52
53       If the new width or height are different from the old values, XtResize‐
54       Widget calls the widget's resize procedure to notify it of the size
55       change.
56
57       The XtResizeWindow function calls the XConfigureWindow Xlib function to
58       make the window of the specified widget match its width, height, and
59       border width.  This request is done unconditionally because there is no
60       way to tell if these values match the current values.  Note that the
61       widget's resize procedure is not called.
62
63       There are very few times to use XtResizeWindow; instead, you should use
64       XtResizeWidget.
65

SEE ALSO

67       XtMakeGeometryRequest(3Xt), XtQueryGeometry(3Xt)
68       X Toolkit Intrinsics - C Language Interface
69       Xlib - C Language X Interface
70
71
72
73X Version 11                      libXt 1.0.4            XtConfigureWidget(3x)
Impressum