XmTextSetTopCharacter(3X)

XmTextSetTopCharacter - A Text function that sets the position of the first character displayed

Showing IRIX 6.5.30 (default release). Unchanged since IRIX 6.5.

     NAME
          XmTextSetTopCharacter - A Text function that sets the
          position of the first character displayed

     SYNOPSIS
          #include <Xm/Text.h>

          void XmTextSetTopCharacter (widget, top_character)
               Widget    widget;
               XmTextPositiontop_character;


     VERSION
          This page documents version 1.2 of the Motif library.

     DESCRIPTION
          XmTextSetTopCharacter sets the position of the text at the
          top of the Text widget.  If the XmNeditMode is
          XmMULTI_LINE_EDIT, the line of text that contains
          top_character is displayed at the top of the widget without
          shifting the text left or right.

          widget Specifies the Text widget ID

          top_character
                 Specifies the position in the text to display at the
                 top of the widget.  This is an integer number of
                 characters from the beginning of the text buffer.
                 The first character position is 0.


          For a complete definition of Text and its associated
          resources, see XmText(3X).

     RELATED INFORMATION
          XmText(3X).