|
DtEditorDeleteSelection(3) -- delete the primary selection in the DtEditor widget
|
The DtEditorDeleteSelection function removes the currently highlighted data in a DtEditor widget. Any data following the deleted data is moved up. Text can be selected and deselect programmatically with DtEditorSelectAll(3) and DtEditorDeselect(3). The widget argument Specifies the DtEditor widget ID. For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). |
DtEditorDeselect(3) -- deselect the current selection in a DtEditor widget
|
The DtEditorDeselect function deselects any currently selected text in a DtEditor widget. The entire contents of a DtEditor widget may be selected with DtEditorSelectAll(3). The widget argument specifies the DtEditor widget ID. For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3). |
DtEditorDisableRedisplay(3) -- temporarily prevent visual update of a DtEditor widget
|
The DtEditorDisableRedisplay function prevents redisplay of a DtEditor widget even though its visual attributes have been modified. The visual appearance of the widget remains unchanged until DtEditorEnableRedisplay(3) is called. This allows an application to make multiple changes to an editor widget without causing intermediate visual updates. The widget argument specifies the DtEditor widget ID.... |
DtEditorEnableRedisplay(3) -- force the visual update of a DtEditor widget
|
The DtEditorEnableRedisplay function forces a DtEditor widget to update its visual display if any visual attributes have been set or modified since the DtEditorDisableRedisplay(3) function was called for the specified widget. Any subsequent changes that affect the widget's visual appearance will cause the widget to update its display. These functions allow an application to make multiple changes ... |
DtEditorFind(3) -- search for the next occurrence of a string in a DtEditor widget
|
The DtEditorFind function searches for the next occurrence (relative to the insertion cursor) of a string. The string is either the last find string value specified in the Find/Change dialog (see DtEditorInvokeFindChangeDialog(3)) or is passed in as an argument. The widget argument specifies the DtEditor widget ID. The find argument specifies the string to search for. If find is NULL, DtEditorFind... |
DtEditorFormat(3) -- format all or part of the contents of a DtEditor widget
|
The DtEditorFormat function formats all or part of the contents of the DtEditor widget according to the current text format settings in the Format Settings dialog. These options specify which margins and alignments (left aligned, right aligned, justified or centered) are used. Optionally, alternative settings can be passed as an argument to DtEditorFormat in a data structure. This function formats... |
DtEditorGetContents(3) -- retrieve the contents of a DtEditor widget
|
The DtEditorGetContents function retrieves the entire contents of a DtEditor widget as a string, wide character string or sized buffer of data. The data is transferred from the DtEditor widget using a DtEditorContentRec, which indicates the type of data being transferred along with the actual data. If desired, any soft line feeds (word wraps) can be replaced with s. The DtEditor widget tr... |
DtEditorGetInsertionPosition(3) -- retrieve the position of the insert cursor in a DtEditor widget
|
The DtEditorGetInsertionPosition function accesses the current position of the insertion cursor in the DtEditor widget. The position is an integer number of characters from the beginning of the widget's text buffer. The first character position is zero. The position of the insertion cursor can be set with DtEditorSetInsertionPosition(3). The widget argument specifies the DtEditor widget ID. For a... |
DtEditorGetLastPosition(3) -- retrieve the position of the last character in a DtEditor widget
|
The DtEditorGetLastPosition function accesses the last text position in the DtEditor widget. The position is an integer number of characters from the beginning of the widget's buffer. Any text added to the end of the buffer is added after this position. The first character position is zero. The last character position is equal to the number of characters contained in the widget. The widget argume... |
DtEditorGetMessageTextFieldID(3) -- retrieve the widget ID of the message text field in the DtEditor status line
|
The DtEditorGetMessageTextFieldID function returns the widget ID of the Motif Text Field located in the status area of a DtEditor widget. By setting the XmNvalue or XmNvalueWcs resource of this widget, an application can display feedback messages for the user. If the application does not use the message field, the message field can be unmanaged by calling XtUnmanageWidget(3) with this widget ID. T... |
DtEditorGetSizeHints(3) -- retrieve sizing information from a DtEditor widget
|
The DtEditorGetSizeHints function retrieves the current sizing information from a DtEditor widget, allowing the application to compute appropriate size hints for the window manager. The widget argument specifies the DtEditor widget ID. The pHints argument is a pointer to an XSizeHints structure into which the current sizing information is placed. The fields in this structure do not have to contain... |
DtEditorGoToLine(3) -- move the insert cursor for a DtEditor widget to a specified line
|
The DtEditorGoToLine function moves the insert cursor for the DtEditor widget to the beginning of the line specified by the lineNumber argument. The cursor can be moved to the last line by specifying DtEDITOR_LAST_LINE as the line number. If the line is not currently on-screen, the contents for the DtEditor widget are scrolled to display the new insertion position. The lineNumber argument is the n... |
DtEditorInsert(3) -- insert data into a DtEditor widget
|
The DtEditorInsert function inserts either a string, wide character string or sized buffer at the insertion cursor position in a DtEditor widget. The data is transferred to the DtEditor widget using a DtEditorContentRec, which indicates the type of data being transferred along with the actual data. After the data is appended, the insertion cursor is positioned after the last character inserted. Th... |