Unix/Linux Go Back    

CentOS 7.0 - man page for xmtextsettopcharacter (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XmTextSetTopCharacter(library call)			      XmTextSetTopCharacter(library call)

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

       #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 dis-
       played 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 XmText(3).


							      XmTextSetTopCharacter(library call)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 07:51 PM.