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

  man pages->HP-UX 11i man pages -> DtEditorGetInsertionPosition (3)              


 DtEditorGetInsertionPosition(libraDrtyEdciatlolr)GetInsertionPosition(library call)

 NAME    [Toc]    [Back]
      DtEditorGetInsertionPosition - retrieve the position of the insert
      cursor in a DtEditor widget

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

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      Upon 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 ALSO    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetLastPosition(3),

                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
DtEditorSetInsertionPosition HP-UX set the position of the insert cursor in a DtEditor widget
DtEditorGetLastPosition HP-UX retrieve the position of the last character in a DtEditor widget
DtEditorGoToLine HP-UX move the insert cursor for a DtEditor widget to a specified line
DtEditorInsert HP-UX insert data into a DtEditor widget
DtEditorPasteFromClipboard HP-UX insert the clipboard selection into a DtEditor widget
DtEditorInsertFromFile HP-UX insert data from a file into a DtEditor widget
DtEditorGetContents HP-UX retrieve the contents of a DtEditor widget
DtEditorGetSizeHints HP-UX retrieve sizing information from a DtEditor widget
DtEditorGetMessageTextFieldID HP-UX retrieve the widget ID of the message text field in the DtEditor status line
XmTextSetInsertionPosition IRIX A Text function that sets the position of the insert cursor
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service