Index Index for
Section 3X
Index Alphabetical
listing for D
Bottom of page Bottom of
page

DXmCSTextGetSelectionInfo(3X)

NAME

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

SYNOPSIS

Boolean DXmCSTextGetSelectionInfo( 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.

Index Index for
Section 3X
Index Alphabetical
listing for D
Top of page Top of
page