DXmCSTextSetSelection(3X) — Subroutines
Digital
NAME
DXmCSTextSetSelection − Designates the specified text as the current primary selection by highlighting it in the compound string text widget.
SYNOPSIS
void DXmCSTextSetSelection(widget, first, last, time)
Widget widget;
int first;
int last;
Time time;
DESCRIPTION
The DXmCSTextSetSelection routine designates the specified text as the current primary selection by highlighting it in the compound string text widget. Within the text window, first marks the position of the first character in the text and last marks the last character. The field characters start at 0 and increase sequentially.
Arguments
widgetThe identifier (widget ID) of the compound string text widget.
firstAn integer that represents the position of the first character in text being selected.
lastAn integer that represents the position of the last character in the text being selected.
timeSpecifies the time of the event that generated the call to the DXmCSTextSetSelection routine.
RELATED INFORMATION
DXmCreateCSText , DXmCSTextGetSelection , and DXmCSTextClearSelection .