DXmCSTextGetSelection(3X)
NAME
DXmCSTextGetSelection − Retrieves the text selected in the compound string text widget.
SYNOPSIS
XmString DXmCSTextGetSelection(widget)
Widget widget;
PARAMETERS
The identifier (widget ID) of the compound string text widget.
DESCRIPTION
The DXmCSTextGetSelection routine retrieves the text selected (highlighted) 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 Intrinsic routine XtStringFree.
RETURN VALUES
A pointer to the selected text compound string.
RELATED INFORMATION
DXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextCopy(3X), DXmCSTextCut(3X), DXmCSTextPaste(3X), DXmCSTextSetSelection(3X)