Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DtEditorGetInsertionPosition(libraryDtEditorGetInsertionPosition(library call)

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 in-
       teger number of characters from the beginning of	the widget's text buf-
       fer.  The first character position is zero.  The	position of the	inser-
       tion 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 re-
       sources,	see DtEditor(3).

RETURN VALUE
       Upon  successful	 completion, the DtEditorGetInsertionPosition function
       returns an XmTextPosition value that indicates the position of the  in-
       sertion cursor in the text; otherwise, it returns NULL.

SEE ALSO
       Dt/Editor.h  -  DtEditor(5),  DtEditor(3),  DtEditorGetLastPosition(3),
       DtEditorSetInsertionPosition(3).

				    DtEditorGetInsertionPosition(library call)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DtEditorGetInsertionPosition&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help