Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmeReplyToQueryGeometry() — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     XmeReplyToQueryGeometry(3XUNIX System XmeReplyToQueryGeometry(3X)



     NAME
          XmeReplyToQueryGeometry - Handles standard geometry requests

     SYNOPSIS
          #include <Xm/XmP.h>
          XtGeometryResult XmeReplyToQueryGeometry(
          Widget widget,
          XtWidgetGeometry *intended,
          XtWidgetGeometry *desired);

     VERSION
          This page documents Motif 2.1.

     DESCRIPTION
          A querygeometry method can call XmeReplyToQueryGeometryin
          order to handle certain kinds of geometry requests.
          XmeReplyToQueryGeometry has an important limitation; it
          returns an XtGeometryResult value based solely on width and
          height values.  That is, XmeReplyToQueryGeometry ignores
          other characteristics of widget geometry, such as starting
          position and border width.  Therefore, if your
          querygeometry method needs to analyze any of these other
          characteristics, then you need to write your own code,
          rather than relying on XmeReplyToQueryGeometry.

          Your widget must determine its preferred size prior to
          calling XmeReplyToQueryGeometry.  To be more precise, you
          need only determine the widget's preferred width and height.
          The desired variable holds the widget's preferred
          dimensions.

          widget    Specifies the current widget.

          intended  Specifies the geometry proposed by the parent of
                    widget.

          desired   Specifies the geometry preferred by widget.

     RETURN
          Returns XtGeometryYes if the intended geometry matches the
          desired geometry, and if the parent of widget intends to use
          these values.  Otherwise, returns XtGeometryNo if the
          desiredwidth and height match the widget's current width and
          height.  Otherwise, returns XtGeometryAlmost.

     RELATED
          XtResizeRequest(3).








     Page 1                                          (printed 1/22/99)



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