


XmTextFieldPosToXY(3X)				       XmTextFieldPosToXY(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttFFiieellddPPoossTTooXXYY - A TextField function that accesses the x	and y posi-
  tion of a character position

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxttFF..hh>>
  BBoooolleeaann XXmmTTeexxttFFiieellddP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tFFiieellddPPoossTTooXXYY accesses the x and	y position, relative to	the upper
  left corner of the TextField widget, of a given character position in	the
  text buffer.

  _w_i_d_g_e_t Specifies the TextField 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 TextField and its associated resources, see
  XXmmTTeexxttFFiieelldd((33XX)).

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

RELATED	INFORMATION
  XXmmTTeexxttFFiieelldd((33XX)).














