Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XmWidgetGetDisplayRect(3)  Library Functions Manual  XmWidgetGetDisplayRect(3)

NAME
       XmWidgetGetDisplayRect -- Retrieves display rectangle information for a
       widget

SYNOPSIS
       #include	<Xm/Xm.h>
       Boolean XmWidgetGetDisplayRect(
       Widget widget,
       XRectangle *displayrect);

DESCRIPTION
       XmWidgetGetDisplayRect returns the width, height	and the	x and  y-coor-
       dinates of the upper left corner	of the display rectangle of the	speci-
       fied widget. The	display	rectangle is the smallest rectangle  that  en-
       closes either a string or a pixmap.

       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.

       In  the case of a pixmap, the return values specify the x and y-coordi-
       nates of	the upper left corner of the pixmap relative  to  the  origin,
       and the width and height	of the pixmap in pixels.

       widget	 Specifies the widget ID

       displayrect
		 Specifies a pointer to	an XRectangle structure	in which the x
		 and y-coordinates, width and height of	the display  rectangle
		 are returned

RETURN
       Returns	True if	the specified widget has an associated display rectan-
       gle; otherwise, returns False.

RELATED
       XmWidgetGetBaselines(3).

						     XmWidgetGetDisplayRect(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN | RELATED

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XmWidgetGetDisplayRect&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help