DXmCSTextInsert(3X) — Subroutines
Digital
NAME
DXmCSTextInsert − Inserts new text into the compound string text widget.
SYNOPSIS
DXmCSTextStatus DXmCSTextInsert(widget, pos, value)
Widget widget
DXmCSTextPosition pos;
XmString value;
DESCRIPTION
The DXmCSTextInsert routine inserts new text into the compound string text widget at the specified logical position, returning the success or failure of that operation.
Arguments
widgetThe identifier (widget ID) of the compound string text widget.
posThe logical position at which to insert the new text.
valueThe compound string representation of the text.
RETURN VALUES
A value that represents the status (success or failure) of the insertion operation, as follows:
| Value | Description |
| DXmCSTextStatusEditDone | Text was inserted successfully. |
| DXmCSTextStatusEditError | Text was not inserted (failure). |