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

FreeBSD Manual Pages

  
 
  

home | help
DtEditorGetLastPosition(library	call)	 DtEditorGetLastPosition(library call)

NAME
       DtEditorGetLastPosition	-- retrieve the	position of the	last character
       in a DtEditor widget

SYNOPSIS
       #include	<Dt/Editor.h>
       XmTextPosition DtEditorGetLastPosition(
       Widget widget);

DESCRIPTION
       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 posi-
       tion is zero.  The last character position is equal to  the  number  of
       characters contained in the widget.

       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	DtEditorGetLastPosition	 function  re-
       turns  an  XmTextPosition value that indicates the last position	in the
       text; otherwise,	it returns NULL.

APPLICATION USAGE
       The position information	is given in terms  of  characters,  which  may
       differ from the byte position when multi-byte code sets are in use.

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

					 DtEditorGetLastPosition(library call)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | APPLICATION USAGE | SEE ALSO

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

home | help