


XmCreateScrolledText(3X)			     XmCreateScrolledText(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCrreeaatteeSSccrroolllleeddTTeexxtt - The TextScrolledText convenience creation function

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  WWiiddggeett XXmmCCrreeaatteeSSccrroolllleeddTTeexxtt ((_p_a_r_e_n_t, _n_a_m_e, _a_r_g_l_i_s_t, _a_r_g_c_o_u_n_t))
       WWiiddggeett	 _p_a_r_e_n_t;;
       SSttrriinngg	 _n_a_m_e;;
       AArrggLLiisstt	 _a_r_g_l_i_s_t;;
       CCaarrddiinnaall	 _a_r_g_c_o_u_n_t;;

DESCRIPTION
  XXmmCCrreeaatteeSSccrroolllleeddTTeexxtt creates an instance of a	Text widget that is contained
  within a ScrolledWindow.  All	ScrolledWindow subarea widgets are automati-
  cally	created	by this	function. The ID returned by this function is that of
  the Text widget.  Use	this ID	for all	normal Text operations,	as well	as
  those	that are relevant for the ScrolledText widget.

  The Text widget defaults to single-line text edit; therefore,	no ScrollBars
  are displayed.  The Text resource XXmmNNeeddiittMMooddee	must be	set to
  XXmmMMUULLTTII__LLIINNEE__EEDDIITT to display the ScrollBars.	The results of placing a Text
  widget inside	a ScrolledWindow when the Text's XXmmNNeeddiittMMooddee is
  XXmmSSIINNGGLLEE__LLIINNEE__EEDDIITT are undefined.

  All arguments	to either the Text or the ScrolledWindow widget	can be speci-
  fied at creation time	using this function.  Changes to initial position and
  size are sent	only to	the ScrolledWindow widget.  Other resources are	sent
  to the Text or the ScrolledWindow widget as appropriate.

  This function	forces the following initial values for	ScrolledWindow
  resources:

    oo++  XXmmNNssccrroolllliinnggPPoolliiccyy is set to XXmmAAPPPPLLIICCAATTIIOONN__DDEEFFIINNEEDD.

    oo++  XXmmNNvviissuuaallPPoolliiccyy is set to XXmmVVAARRIIAABBLLEE.

    oo++  XXmmNNssccrroollllBBaarrDDiissppllaayyPPoolliiccyy is set	to XXmmSSTTAATTIICC.

    oo++  XXmmNNsshhaaddoowwTThhiicckknneessss is set to 0.

  To obtain the	ID of the ScrolledWindow widget	associated with	the Scrol-
  ledText, use the Xt Intrinsics XXttPPaarreenntt function.  The name of the Scrol-
  ledWindow created by this function is	formed by concatenating	the letters
  SSWW onto the end of the _n_a_m_e specified	in the parameter list.

  _p_a_r_e_n_t Specifies the parent widget ID

  _n_a_m_e	 Specifies the name of the created widget

  _a_r_g_l_i_s_tSpecifies the argument	list

  _a_r_g_c_o_u_n_t
	 Specifies the number of attribute/value pairs in the argument list
	 (_a_r_g_l_i_s_t)


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

RETURN VALUE
  Returns the Text widget ID.

RELATED	INFORMATION
  XXmmSSccrroolllleeddWWiinnddooww((33XX)) and XXmmTTeexxtt((33XX)).


























































