1XtQueryGeometry(3) XT FUNCTIONS XtQueryGeometry(3)
2
3
4
6 XtQueryGeometry - query the preferred geometry of a child widget
7
9 #include <X11/Intrinsic.h>
10
11 XtGeometryResult XtQueryGeometry(Widget w, XtWidgetGeometry *intended,
12 XtWidgetGeometry *preferred_return);
13
15 intended Specifies any changes the parent plans to make to the child's
16 geometry or NULL.
17
18 preferred_return
19 Returns the child widget's preferred geometry.
20
21 w Specifies the widget.
22
24 To discover a child's preferred geometry, the child's parent sets any
25 changes that it intends to make to the child's geometry in the correā
26 sponding fields of the intended structure, sets the corresponding bits
27 in intended.request_mode, and calls XtQueryGeometry.
28
29 XtQueryGeometry clears all bits in the preferred_return->request_mode
30 and checks the query_geometry field of the specified widget's class
31 record. If query_geometry is not NULL, XtQueryGeometry calls the
32 query_geometry procedure and passes as arguments the specified widget,
33 intended, and preferred_return structures. If the intended argument is
34 NULL, XtQueryGeometry replaces it with a pointer to an XtWidgetGeometry
35 structure with request_mode=0 before calling query_geometry.
36
38 XtConfigureWidget(3), XtMakeGeometryRequest(3)
39 X Toolkit Intrinsics - C Language Interface
40 Xlib - C Language X Interface
41
42
43
44X Version 11 libXt 1.2.0 XtQueryGeometry(3)