Solaris Common Desktop Environment: Programmer's Guide

Input/Output Functions

The DtEditor input/output functions are described in Table 7-4.

Table 7-4 DtEditor Input/Output Functions

Function 

Description 

DtEditorAppend

Appends content data to the end of an editor widget. 

DtEditorAppendFromFile

Appends the contents of a file to the end of an editor widget. 

DtEditorGetContents

Retrieves the entire contents of an editor widget. 

DtEditorInsert

Inserts content data at the current insert position. 

DtEditorInsertFromFile

Inserts the contents of a file at the current insert position. 

DtEditorReplace 

Replaces a portion of text with the supplied data. 

DtEditorReplaceFromFile 

Replaces a portion of text with the contents of a file. 

DtEditorSaveContentsToFile

Saves the entire contents to a file. 

DtEditorSetContents

Loads content data into an editor widget, replacing the entire contents of the widget. 

DtEditorSetContentsFromFile

Loads the contents of a file into an editor widget, replacing the entire contents of the widget.