*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtEditorGetLastPosition (3)              
Title
Content
Arch
Section
 

Contents


 DtEditorGetLastPosition(library call) DtEditorGetLastPosition(library call)




 NAME    [Toc]    [Back]
      DtEditorGetLastPosition - retrieve the position of the last character
      in a DtEditor widget

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

 DESCRIPTION    [Toc]    [Back]
      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 position 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
      resources, see DtEditor(3).

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, the DtEditorGetLastPosition function
      returns an XmTextPosition value that indicates the last position in
      the text; otherwise, it returns NULL.

 APPLICATION USAGE    [Toc]    [Back]
      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    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditor(3),
      DtEditorGetInsertionPosition(3), DtEditorSetInsertionPosition(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtEditorGetInsertionPosition HP-UX retrieve the position of the insert cursor in a DtEditor widget
DtEditorGetContents HP-UX retrieve the contents of a DtEditor widget
DtEditorGetSizeHints HP-UX retrieve sizing information from a DtEditor widget
DtEditorSetInsertionPosition HP-UX set the position of the insert cursor in a DtEditor widget
DtEditorGetMessageTextFieldID HP-UX retrieve the widget ID of the message text field in the DtEditor status line
DtEditor HP-UX the DtEditor widget class
XmTextFieldXYToPos HP-UX A TextField function that accesses the character position nearest an x and y position
XmTextXYToPos HP-UX A Text function that accesses the character position nearest an x and y position
XmTextFieldXYToPos Tru64 A TextField function that accesses the character position nearest an x and y position
XmTextXYToPos Tru64 A Text function that accesses the character position nearest an x and y position
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service