Man Page: dteditorgetinsertionposition
Operating Environment: hpux
Section: 3
DtEditorGetInsertionPosition(library call) DtEditorGetInsertionPosition(library call)NAMEDtEditorGetInsertionPosition -- retrieve the position of the insert cursor in a DtEditor widgetSYNOPSIS#include <Dt/Editor.h> XmTextPosition DtEditorGetInsertionPosition( Widget widget);DESCRIPTIONThe 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 complete definition of the DtEditor widget and its associated resources, see DtEditor(3).RETURN VALUEUpon successful completion, the DtEditorGetInsertionPosition function returns an XmTextPosition value that indicates the position of the insertion cursor in the text; otherwise, it returns NULL.SEE ALSODt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetLastPosition(3), DtEditorSetInsertionPosition(3). DtEditorGetInsertionPosition(library call)
| Related Man Pages |
|---|
| dteditorcheckforunsavedchanges(3) - hpux |
| dteditorgetinsertionposition(3) - hpux |
| dteditorgetlastposition(3) - hpux |
| dteditorinsertfromfile(3) - hpux |
| dteditorselectall(3) - hpux |
| Similar Topics in the Unix Linux Community |
|---|
| Cursor position |
| find the position in a file and insert the data there |
| insertion sort??? |
| Vi editor : Knowing the current cursor position |
| Positional insertion for multibyte characters |