


XmTextFieldXYToPos(3X)				       XmTextFieldXYToPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttFFiieellddXXYYTTooPPooss - A TextField function that accesses the character	posi-
  tion nearest an x and	y position

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxttFF..hh>>
  XXmmTTeexxttPPoossiittiioonn XXmmTTeexxttFFiieellddXXYYTTooPPooss ((_w_i_d_g_e_t, _x,	_y))
       WWiiddggeett	 _w_i_d_g_e_t;;
       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dXXYYTTooPPooss accesses the character position nearest to	the specified
  x and	y position, relative to	the upper left corner of the TextField
  widget.

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

  _x	 Specifies the x position, relative to the upper left corner of	the
	 widget.

  _y	 Specifies the y position, relative to the upper left corner of	the
	 widget.

  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
  Returns the character	position in the	text nearest the x and y position
  specified.  This is an integer number	of characters from the beginning of
  the buffer.  The first character position is 0.

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






















