Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ olInsert(3W) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

OlTextEditGetCursorPosition(3W)



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





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026