hpux man page for dteditorsetinsertionposition

Query: dteditorsetinsertionposition

OS: hpux

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DtEditorSetInsertionPosition(library call)								DtEditorSetInsertionPosition(library call)

NAME
DtEditorSetInsertionPosition -- set the position of the insert cursor in a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h> void DtEditorSetInsertionPosition( Widget widget, XmTextPosition position);
DESCRIPTION
The DtEditorSetInsertionPosition function sets the insertion cursor position of the DtEditor widget. The current position of the insertion cursor can be retrieved with DtEditorGetInsertionPosition(3). The last text position of the DtEditor widget can be retrieved with DtEditor- GetLastPosition(3). The widget argument specifies the DtEditor widget ID. The position argument specifies the position of the insertion cursor. This is an integer number of characters from the beginning of the text buffer. The first character position is zero. Values greater than the last position place the cursor at the last position (that is, at the end of the text). For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
The DtEditorSetInsertionPosition function returns no value.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetInsertionPosition(3), DtEditorGetLastPosition(3). DtEditorSetInsertionPosition(library call)
Related Man Pages
dteditorcopytoclipboard(3) - hpux
dteditorinvokefindchangedialog(3) - hpux
dteditorpastefromclipboard(3) - hpux
dteditorselectall(3) - hpux
dteditorsetinsertionposition(3) - hpux
Similar Topics in the Unix Linux Community
find the position in a file and insert the data there
read space filled file and replace text at specific position
Xterm, removing text cursor
Bash script to count and insert
Holding cursor position on one line