MirBSD manpage: XtQueryGeometry(3)

XtQueryGeometry(3Xt)      XT FUNCTIONS       XtQueryGeometry(3Xt)


     XtQueryGeometry - query the preferred geometry of a child


     XtGeometryResult XtQueryGeometry(Widget w, XtWidgetGeometry
          *intended, XtWidgetGeometry *preferred_return);


     intended  Specifies any changes the parent plans to make to
               the child's geometry or NULL.

               Returns the child widget's preferred geometry.

     w         Specifies the widget.


     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 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, and
     preferred_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.


     XtConfigureWidget(3Xt), XtMakeGeometryRequest(3Xt)
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.