


XmTextPosToXY(3X)					    XmTextPosToXY(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttPPoossTTooXXYY	- A Text function that accesses	the x and y position of	a
  character position

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  BBoooolleeaann XXmmTTeexxttPPoossTTooXXYY	((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n, _x, _y))
       WWiiddggeett	 _w_i_d_g_e_t;;
       XXmmTTeexxttPPoossiittiioonn_p_o_s_i_t_i_o_n;;
       PPoossiittiioonn	 *_x;;
       PPoossiittiioonn	 *_y;;

DESCRIPTION
  XXmmTTeexxttPPoossTTooXXYY	accesses the x and y position, relative	to the upper left
  corner of the	Text widget, of	a given	character position in the text
  buffer.

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

  _p_o_s_i_t_i_o_n
	 Specifies the character position in the text for which	the x and y
	 position is accessed.	This is	an integer number of characters	from
	 the beginning of the buffer.  The first character position is 0.

  _x	 Specifies the pointer in which	the x position,	relative to the	upper
	 left corner of	the widget, is returned.  This value is	meaningful
	 only if the function returns True.

  _y	 Specifies the pointer in which	the y position,	relative to the	upper
	 left corner of	the widget, is returned.  This value is	meaningful
	 only if the function returns True.

  For a	complete definition of Text and	its associated resources, see
  XXmmTTeexxtt((33XX)).

RETURN VALUE
  This function	returns	True if	the character position is displayed in the
  Text widget; otherwise, it returns False, and	no _x or	_y value	is returned.

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)).















