OlTextEditInsert(3W) UNIX System V OlTextEditInsert(3W)
NAME
OlTextEditInsert
SYNOPSIS
#include <buffutil.h>
#include <textbuff.h>
#include <TextEdit.h>
...
extern Boolean OlTextEditInsert(ctx, buffer, length)
TextEditWidget ctx;
String buffer;
int length;
DESCRIPTION
The OlTextEditInsert function is used to insert a NULL-terminated buffer
containing length bytes in the TextBuffer associated with the TextEdit
widget ctx. The inserted text replaces the current (if any) selection.
Note: The value of length is not used internally, but is passed on as the
length field in the XtNmodifyVerification callback.
RETURN VALUE
FALSE is returned if the widget supplied is not a TextEdit Widget or if
the insert operation fails; otherwise TRUE is returned.
SEE ALSO
OlTextEditGetCursorPosition(3W), TextEdit Widget
10/89 Page 1