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


DXmCSTextGetSelectionInfo(3X)

NAME

DXmCSTextGetSelectionInfo - Retrieves (returns) the left and right positions of the currently selected text.

SYNOPSIS

Boolean DXmCSTextGetSelectionInfo (widget, left, right) Widget widget; DXmCSTextPosition *left; DXmCSTextPosition *right;

PARAMETERS

widget The identifier (widget ID) of the compound string text widget. left The left logical position corresponding to the selected text. right The right logical position corresponding to the selected text.

DESCRIPTION

The DXmCSTextGetSelectionInfo routine, when True, returns the left and right logical positions corresponding to the currently selected (highlighted) text. If no text is selected, this routine returns False.

RETURN VALUES

A Boolean value that, when False, indicates that there is no currently selected text; otherwise, the value is True.