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

  man pages->Tru64 Unix man pages -> XmTextSetSource (3X)              
Title
Content
Arch
Section
 

XmTextSetSource(3X)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Text.h>

       void XmTextSetSource (widget, source, top_character,  cursor_position)

               Widget widget;
               XmTextSource source;
               XmTextPosition top_character;
               XmTextPosition cursor_position;

DESCRIPTION    [Toc]    [Back]

       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 specified, the widget creates a  default  string
       source.   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.  Specifies the  position  in  the
       text  at  which  the insert cursor is located.  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).

SEE ALSO    [Toc]    [Back]

      
      
       XmText(3X)



                                              XmTextSetSource(3X)
[ Back ]
 Similar pages
Name OS Title
XmTextGetSource HP-UX A Text function that accesses the source of the widget
XmTextGetSource Tru64 A Text function that accesses the source of the widget
XmTextGetSource IRIX A Text function that accesses the source of the widget
DXmCSTextSetMaxLength Tru64 Sets the maximum allowable length of the text in the compound string text widget.
XmTextSetMaxLength IRIX A Text function that sets the value of the current maximum allowable length of a text string entered from the
XmTextSetMaxLength Tru64 A Text function that sets the value of the current maximum allowable length of a text string entered...
XmTextSetMaxLength HP-UX A Text function that sets the value of the current maximum allowable length of a text string entered from the
SgTextSetErrorSelection IRIX 0 XmTextSetErrorSelection -A Text function that sets the primary selection of the text
XmTextSetSelection HP-UX A Text function that sets the primary selection of the text
XmTextSetSelection Tru64 A Text function that sets the primary selection of the text
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service