


DXmCSTextXYToPos(3X)					 DXmCSTextXYToPos(3X)



NAME
  DDXXmmCCSSTTeexxttXXYYTTooPPooss - Retrieves (returns) the position in the text of the
  character nearest to a specified x and y position.

SYNOPSIS

  DDXXmmCCSSTTeexxttPPoossiittiioonn DDXXmmCCSST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;;

PARAMETERS

  _w_i_d_g_e_t
      The identifier (widget ID) of the	compound string	text widget.

  _x   The _x coordinate relative	to the upper left corner of the	widget.

  _y   The _y coordinate relative	to the upper left corner of the	widget.

DESCRIPTION

  The DDXXmmCCSSTTeexxttXXYYTTooPPooss routine returns an integer that identifies the posi-
  tion in the text of the character that is nearest to a specified _x and _y
  position.

RETURN VALUES

  An integer that identifies the position of the character in the text.	 This
  integer represents the number	of characters from the beginning of the	text
  buffer, with 0 indicating the	position of the	first character.

RELATED	INFORMATION

  DDXXmmCCSSTTeexxttPPoossTTooXXYY(3X)
























