manpagez: man pages & more
man XmTextGetSource(3)
Home | html | info | man
XmTextGetSource(library call)                    XmTextGetSource(library call)




NAME

       XmTextGetSource -- A Text function that accesses the source of the wid-
       get


SYNOPSIS

       #include <Xm/Text.h>
       XmTextSource XmTextGetSource(
       Widget widget);


DESCRIPTION

       XmTextGetSource accesses 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 accesses the source of one widget so that it can
       be  made  the  source  of another widget, using the function XmTextSet-
       Source(3).

       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.

       widget    Specifies the Text widget ID

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


RETURN

       Returns an XmTextSource value that represents the source  of  the  Text
       widget.


RELATED

       XmText(3).



                                                 XmTextGetSource(library call)

openMotif 2.3.1 - Generated Thu Dec 4 07:46:19 CST 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.