DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DtEditorGetInsertionPosition(3)




DtEditorGetInsertionPosCtLIBRARY FDtEditorGetInsertionPosition(3)

NAME
     DtEditorGetInsertionPosition - retrieve the position of  the
     insert cursor in a	DtEditor widget

SYNOPSIS
     #include <Dt/Editor.h>

     XmTextPosition DtEditorGetInsertionPosition(Widget	widget);

DESCRIPTION
     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 complete definition of the  DtEditor	 widget	 and  its
     associated	resources, see DtEditor(3).

RETURN VALUE
     Upon successful  completion,  the	DtEditorGetInsertionPosi-
     tion()  function  returns an XmTextPosition value that indi-
     cates the position	of the insertion cursor	in the text; oth-
     erwise, it	returns	NULL.

SEE ALSO
     DtEditor(5), DtEditor(3), DtEditorGetLastPosition(3), DtEdi-
     torSetInsertionPosition(3).

Unix System LaboratoLast change: 1 August 1995			1


Man(1) output converted with man2html