GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


       XmTextSetTopCharacter  —  A Text function that sets the position of the
       first  character  displayed  "XmTextSetTopCharacter"  "Text  functions"


       #include <Xm/Text.h>
       void XmTextSetTopCharacter(
       Widget widget,
       XmTextPosition top_character);


       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 the  text  shifting  left  or  right.   If  the  edit  mode  is
       XmSINGLE_LINE_EDIT,  the  text moves horizontally so that top_character
       is the first character displayed.

       widget    Specifies the Text widget ID

                 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 (zero).

       For  a  complete  definition  of Text and its associated resources, see




  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to
Page load time: 0.117 seconds. Last modified: November 04 2018 12:49:43.