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

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

Contents


 DtEditorSetInsertionPosition(libraDrtyEdciatlolr)SetInsertionPosition(library call)




 NAME    [Toc]    [Back]
      DtEditorSetInsertionPosition - set the position of the insert cursor
      in a DtEditor widget

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

 DESCRIPTION    [Toc]    [Back]
      The DtEditorSetInsertionPosition function sets the insertion cursor
      position of the DtEditor widget.  The current position of the
      insertion cursor can be retrieved with
      DtEditorGetInsertionPosition(3). The last text position of the
      DtEditor widget can be retrieved with DtEditorGetLastPosition(3).

      The widget argument specifies the DtEditor widget ID.

      The position argument specifies the position of the insertion cursor.
      This is an integer number of characters from the beginning of the text
      buffer.  The first character position is zero.  Values greater than
      the last position place the cursor at the last position (that is, at
      the end of the text).

      For a complete definition of the DtEditor widget and its associated
      resources, see DtEditor(3).

 RETURN VALUE    [Toc]    [Back]
      The DtEditorSetInsertionPosition function returns no value.

 SEE ALSO    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditor(3),
      DtEditorGetInsertionPosition(3), DtEditorGetLastPosition(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
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
DtEditorGetLastPosition HP-UX retrieve the position of the last character in a DtEditor widget
XmTextGetInsertionPosition IRIX A Text function that accesses the position of the insert cursor
XmTextSetInsertionPosition Tru64 A Text function that sets the position of the insert cursor
XmTextGetInsertionPosition Tru64 A Text function that accesses the position of the insert cursor
XmTextSetInsertionPosition HP-UX A Text function that sets the position of the insert cursor
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service