DXmCSTextGetSelectionInfo(3X) — Subroutines
Digital
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;
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.
Arguments
widgetThe identifier (widget ID) of the compound string text widget.
leftThe left logical position corresponding to the selected text.
rightThe right logical position corresponding to the selected text.
RETURN VALUES
A Boolean value that, when False, indicates that there is no currently selected text; otherwise, the value is True.