


XmWidgetGetDisplayRect(3X)			   XmWidgetGetDisplayRect(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmWWiiddggeettGGeettDDiissppllaayyRReecctt - Retrieves display rectangle information for a
  widget

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  BBoooolleeaann XXmmWWiiddggeettGGeettDDiissppllaayyRReecctt ((_w_i_d_g_e_t, _d_i_s_p_l_a_y_r_e_c_t))
       WWiiddggeett	 _w_i_d_g_e_t;;
       XXRReeccttaannggllee**_d_i_s_p_l_a_y_r_e_c_t;;

DESCRIPTION
  XXmmWWiiddggeettGGeettDDiissppllaayyRReecctt returns the width, height and the x and y coordi-
  nates	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.

  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 coordinates
  of the upper left corner of the pixmap relative to the origin, and the
  width	and height of the pixmap in pixels.

  _w_i_d_g_e_t    Specifies the widget ID

  _d_i_s_p_l_a_y_r_e_c_t
	    Specifies a	pointer	to an XRectangle structure in which the	x and
	    y coordinates, width and height of the display rectangle are
	    returned

RETURN VALUE
  Returns True if the specified	widget has an associated display rectangle;
  otherwise, returns False.

RELATED	INFORMATION
  XXmmWWiiddggeettGGeettBBaasseelliinneess((33XX)).



















