XT FUNCTIONS XtQueryGeometry(3xt)
NAME
XtQueryGeometry - query the preferred geometry of a child
widget SYNTAXcc [ flag... ] file... -lXt [ library... ]
XtGeometryResult XtQueryGeometry(Widget w, XtWidgetGeometry
*intended, XtWidgetGeometry *preferred_return);
ARGUMENTS intended Specifies any changes the parent plans to make to the child's geometry or NULL.preferred_return
Returns the child widget's preferred geometry. w Specifies the widget.DESCRIPTION
To discover a child's preferred geometry, the child's parent sets any changes that it intends to make to the child'sgeometry in the corresponding fields of the intended struc-
ture, sets the corresponding bits in intended.request_mode,
and calls XtQueryGeometry.
XtQueryGeometry clears all bits in the preferred_return-
>request_mode and checks the query_geometry field of the
specified widget's class record. If query_geometry is not
NULL, XtQueryGeometry calls the query_geometry procedure and
passes as arguments the specified widget, intended, andpreferred_return structures. If the intended argument is
NULL, XtQueryGeometry replaces it with a pointer to an
XtWidgetGeometry structure with request_mode=0 before cal-
ling query_geometry.
SEE ALSO
XtConfigureWidget(3Xt), XtMakeGeometryRequest(3Xt)X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes: X Version 11 Last change: libXt 1.0.8 1XT FUNCTIONS XtQueryGeometry(3xt)
__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 2