XtQueryGeometry(3Xt) MIT X11R4 XtQueryGeometry(3Xt)
Name
XtQueryGeometry - query the preferred geometry of a child widget
Syntax
XtGeometryResult XtQueryGeometry(w, intended, preferred_return)
Widget w;
XtWidgetGeometry *intended, *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's geometry in the corre-
sponding fields of the intended structure, sets the corresponding bits in intended.request_mode, and calls
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, calls the query_geometry procedure and passes as arguments the specified widget, intended, and preferred_return
structures. If the intended argument is NULL, replaces it with a pointer to an structure with request_mode=0 before calling query_geome-
try.
See Also
XtConfigureWidget(3Xt), XtMakeGeometryRequest(3Xt)
X Window System Toolkit: The Complete Programmer's Guide and Specification, Paul J. Asente and Ralph Swick
X Window System: The Complete Reference, Second Edition, Robert W. Scheifler and James Gettys
XtQueryGeometry(3Xt)