XtQueryGeometry(3Xt) XtQueryGeometry(3Xt)NAME XtQueryGeometry - queries the preferred geometry of a child widget SYNOPSIS XtGeometryResult XtQueryGeometry(w, intended, preferred- return) Widget w; XtWidgetGeometry *intended, *preferred-return; 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 members of the structure specified by intended, sets the corresponding bits in the request-mode member of the structure specified by intended, and calls XtQueryGeometry. XtQueryGeometry clears all bits in preferred-return->request_mode and checks the query_geometry member of the specified widget's class record. If query_geometry is not NULL, XtQueryGeometry calls the query_geometry procedure and passes as arguments the widget specified by w and the struc- tures specified by intended and preferred-return. If in- tended is NULL, XtQueryGeometry replaces it with a pointer to an XtWidgetGeometry structure with request_mode set to 0 before calling query_geometry. Arguments This function accepts the following 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. SEE ALSO XtConfigureWidget(3Xt), XtMakeGeometryRequest(3Xt)X Toolkit Intrinsics - C Language InterfaceXlib - C Language Interface November, 1990 1