Index Click this button to go to the index for this section.


DXmCSTextGetInsertionPosition(3X)

NAME

DXmCSTextGetInsertionPosition - Retrieves (returns) the logical position of the insertion cursor.

SYNOPSIS

DXmCSTextPosition DXmCSTextGetInsertionPosition(widget) Widget widget;

PARAMETERS

widget The identifier (widget ID) of the compound string text widget.

DESCRIPTION

The DXmCSTextGetInsertionPosition routine retrieves the logical position of the insertion cursor by returning an integer that indicates the distance (in number of characters) between the cursor and the beginning of the text buffer.

RETURN VALUES

An integer that represents the logical position of the cursor, by number of characters from the beginning of the text buffer.

RELATED INFORMATION

DXmCSTextSetInsertionPosition(3X)