DXmCSTextSetSelection(3X)DXmCSTextSetSelection(3X)NAMEDXmCSTextSetSelection - Designates the specified text as the current
primary selection by highlighting it in the compound string text wid‐
get.
SYNOPSIS
void DXmCSTextSetSelection(
Widget widget,
DXmCXTextPosition first,
DXmCXTextPosition last,
Time time );
PARAMETERS
The identifier (widget ID) of the compound string text widget. A value
that represents the position of the first character in the text being
selected. A value that represents the position of the last character
in the text being selected. Specifies the time of the event that gen‐
erated the call to the DXmCSTextSetSelection routine.
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.
SEE ALSODXmCreateCSText(3X), DXmCSTextClearSelection(3X), DXmCSTextGetSelec‐
tion(3X)DXmCSTextSetSelection(3X)