XmTextSetSource man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

XmTextSetSource(3X)					   XmTextSetSource(3X)

NAME
       XmTextSetSource - A Text function that sets the source of the widget

SYNOPSIS
       #include <Xm/Text.h>

       void XmTextSetSource (widget, source, top_character, cursor_position)
	       Widget widget;
	       XmTextSource source;
	       XmTextPosition top_character;
	       XmTextPosition cursor_position;

DESCRIPTION
       XmTextSetSource	sets  the source of the Text widget.  Text widgets can
       share sources of text so that editing in one  widget  is	 reflected  in
       another.	  This	function  sets the source of one widget so that it can
       share the source of another widget.

       Setting a new text source destroys the old text source if no other Text
       widgets are using that source. To replace a text source but keep it for
       later use, create an unmanaged Text widget and set its  source  to  the
       text  source  you want to keep.	Specifies the Text widget ID Specifies
       the source with which the widget displays text.	This can  be  a	 value
       returned	 by  the XmTextGetSource(3X) function.	If no source is speci‐
       fied, the widget creates a default string source.  Specifies the	 posi‐
       tion  in the text to display at the top of the widget. This is an inte‐
       ger number of characters from the beginning of the  text	 buffer.   The
       first  character	 position is 0.	 Specifies the position in the text at
       which the insert cursor is located.  This is an integer number of char‐
       acters  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).

SEE ALSO
       XmText(3X)

							   XmTextSetSource(3X)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net