


XmTextXYToPos(3X)					    XmTextXYToPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttXXYYTTooPPooss	- A Text function that accesses	the character position
  nearest an x and y position

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  XXmmTTeexxttPPoossiittiioonn XXmmTTeexxttX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tX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 Text	widget.

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























