xref: /386bsd/usr/X386/man/man3/XtQueryGeometry.3x (revision a2142627)
.\\$1D \\$2 \\$1
.if \\n(VS>=40 .vs \\n(VSu
.if \\n(VS<=39 .vs \\n(VSp
..

0 .nr BD 0

..

.KS .TA .5i 3i

..
.KE

.. .. .KS

.D

choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...

.. .R .. .. .. .TB

\\*(NO .R .. . \" Note End -- doug kraft 3/85

0 .. .ny0

XtQueryGeometry 3Xt "Release 3" "X Version 11" "XT FUNCTIONS"
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 1i
Specifies any changes the parent plans to make to the child's geometry or NULL.
preferred_return 1i
Returns the child widget's preferred geometry.
w 1i
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 corresponding fields of the intended structure, sets the corresponding bits in intended.request_mode, and calls .ZN XtQueryGeometry .

.ZN 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, .ZN XtQueryGeometry calls the query_geometry procedure and passes as arguments the specified widget, intended, and preferred_return structures. If the intended argument is NULL, .ZN XtQueryGeometry replaces it with a pointer to an .ZN XtWidgetGeometry structure with request_mode=0 before calling query_geometry.

"SEE ALSO"
XtConfigureWidget(3Xt), XtMakeGeometryRequest(3Xt)

\*(xT

\*(xL