Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XtQueryGeometry(3Xt) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XtConfigureWidget(3Xt)

XtMakeGeometryRequest(3Xt)



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


NAME
       XtQueryGeometry - query the preferred geometry of a child
       widget

SYNTAX
       XtGeometryResult XtQueryGeometry(w, intended, pre-
       ferredreturn)
            Widget w;
            XtWidgetGeometry *intended, *preferredreturn;

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

       preferredreturn
                 Returns the child widget's preferred geometry.

       w         Specifies the widget.

DESCRIPTION
       To discover a child's preferred geometry, the child's par-
       ent 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 XtQueryGeometry.

       XtQueryGeometry clears all bits in the pre-
       ferred_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 spec-
       ified 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 calling query_geometry.

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

















X Version 11                Release 3                           1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026