


XmTextGetSource(3X)					  XmTextGetSource(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttGGeettSSoouurrccee - A Text function that accesses the source of	the widget

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  XXmmTTeexxttSSoouurrccee XXmmTTeexxttGGeettSSoouurrccee ((_w_i_d_g_e_t))
       WWiiddggeett	 _w_i_d_g_e_t;;

DESCRIPTION
  XXmmTTeexxttGGeettSSoouurrccee 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	XXmmTTeexxttSSeettSSoouurrccee((33XX)).

  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.

  _w_i_d_g_e_t Specifies the Text widget ID

  For a	complete definition of Text and	its associated resources, see
  XXmmTTeexxtt((33XX)).

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

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)).


























