Blob Blame History Raw
'\" t
...\" WidgetGB.sgm /main/8 1996/09/08 21:21:55 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl			\" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl			\" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "XmWidgetGetDisplayRect" "library call"
.SH "NAME"
\fBXmWidgetGetDisplayRect\fP \(em Retrieves display rectangle
information for a widget
.iX "XmWidgetGetDisplayRect"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Xm\&.h>
\fBBoolean \fBXmWidgetGetDisplayRect\fP\fR(
\fBWidget \fBwidget\fR\fR,
\fBXRectangle *\fBdisplayrect\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmWidgetGetDisplayRect\fP returns the width, height and
the x and y-coordinates of the upper left corner of the display
rectangle of the specified widget\&. The display rectangle
is the smallest rectangle that encloses either a string
or a pixmap\&.
.PP
If the widget contains a string, the return values specify
the x and y-coordinates of the upper left corner of
the display rectangle relative to the origin of the widget
and the width and height in pixels\&.
.PP
In the case of a pixmap, the return values
specify the x and y-coordinates of the upper left corner of
the pixmap relative to the origin, and the width
and height of the pixmap in pixels\&.
.IP "\fIwidget\fP" 10
Specifies the widget ID
.IP "\fIdisplayrect\fP" 10
Specifies a pointer to an XRectangle structure in which the
x and y-coordinates, width and height of the display rectangle
are returned
.SH "RETURN"
.PP
Returns True if the specified widget has an associated
display rectangle; otherwise, returns False\&.
.SH "RELATED"
.PP
\fBXmWidgetGetBaselines\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:36