DXmCSTextGetSelection(3X) — Subroutines
Digital
NAME
DXmCSTextGetSelection − Retrieves the text selected in the compound string text widget.
SYNOPSIS
XmString DXmCSTextGetSelection(widget)
Widget 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.
Arguments
widgetThe identifier (widget ID) of the compound string text widget.
RETURN VALUES
A pointer to the selected text compound string.
RELATED INFORMATION
DXmCreateCSText , DXmCSTextSetSelection , DXmCSTextClearSelection , DXmCSTextCut , DXmCSTextCopy , and DXmCSTextPaste.