1XmWidgetGetDisplayRect(library call)      XmWidgetGetDisplayRect(library call)
2
3
4

NAME

6       XmWidgetGetDisplayRect  — Retrieves display rectangle information for a
7       widget
8

SYNOPSIS

10       #include <Xm/Xm.h>
11       Boolean XmWidgetGetDisplayRect(
12       Widget widget,
13       XRectangle *displayrect);
14

DESCRIPTION

16       XmWidgetGetDisplayRect returns the width, height and the x and  y-coor‐
17       dinates of the upper left corner of the display rectangle of the speci‐
18       fied widget. The display  rectangle  is  the  smallest  rectangle  that
19       encloses either a string or a pixmap.
20
21       If the widget contains a string, the return values specify the x and y-
22       coordinates of the upper left corner of the display rectangle  relative
23       to the origin of the widget and the width and height in pixels.
24
25       In  the case of a pixmap, the return values specify the x and y-coordi‐
26       nates of the upper left corner of the pixmap relative  to  the  origin,
27       and the width and height of the pixmap in pixels.
28
29       widget    Specifies the widget ID
30
31       displayrect
32                 Specifies a pointer to an XRectangle structure in which the x
33                 and y-coordinates, width and height of the display  rectangle
34                 are returned
35

RETURN

37       Returns  True if the specified widget has an associated display rectan‐
38       gle; otherwise, returns False.
39
41       XmWidgetGetBaselines(3).
42
43
44
45                                          XmWidgetGetDisplayRect(library call)
Impressum