DXmCSTextGetSelection(3X)DXmCSTextGetSelection(3X)NAMEDXmCSTextGetSelection - Retrieves the text selected in the compound
string text widget.
SYNOPSIS
XmString DXmCSTextGetSelection(
Widget widget );
PARAMETERS
The identifier (widget ID) of the compound string text widget.
DESCRIPTION
The DXmCSTextGetSelection routine retrieves the text selected (high‐
lighted) in the compound string text widget. It returns a Null pointer
if no text is selected in the widget. The application is responsible
for freeing the storage associated with the text by calling the Intrin‐
sic routine XtStringFree.
RETURN VALUES
A pointer to the selected text compound string.
SEE ALSODXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextCopy(3X),
DXmCSTextCut(3X), DXmCSTextPaste(3X), DXmCSTextSetSelection(3X)DXmCSTextGetSelection(3X)