Content-type: text/html Man page of DXmCSTextXYToPos

DXmCSTextXYToPos

Section: Miscellaneous Library Functions (3X)
Index Return to Main Contents
 

NAME

DXmCSTextXYToPos - Retrieves (returns) the position in the text of the character nearest to a specified x and y position.  

SYNOPSIS

DXmCSTextPosition DXmCSTextXYToPos( Widget widget, Position x, Position y );
 

PARAMETERS

The identifier (widget ID) of the compound string text widget. The x coordinate relative to the upper left corner of the widget. The y coordinate relative to the upper left corner of the widget.
 

DESCRIPTION

The DXmCSTextXYToPos routine returns an integer that identifies the position 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.
 

SEE ALSO

DXmCSTextPosToXY(3X)


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:42:42 GMT, October 02, 2010