


XmTextSetMaxLength(3X)				       XmTextSetMaxLength(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttSSeettMMaaxxLLeennggtthh - A Text function that sets the value of the current
  maximum allowable length of a	text string entered from the keyboard

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  vvooiidd XXmmTTeexxttSSeettMMaaxxLLeennggtthh ((_w_i_d_g_e_t, _m_a_x__l_e_n_g_t_h))
       WWiiddggeett	 _w_i_d_g_e_t;;
       iinntt	 _m_a_x__l_e_n_g_t_h;;

DESCRIPTION
  XXmmTTeexxttSSeettMMaaxxLLeennggtthh sets the value of the current maximum allowable length
  of the text string in	the Text widget.  The maximum allowable	length
  prevents the user from entering a text string	from the keyboard that is
  larger than this limit. Strings that are entered using the XXmmNNvvaalluuee (or
  XXmmNNvvaalluueeWWccss) resource, or the	XXmmTTeexxttSSeettSSttrriinngg	(or XXmmTTeexxttSSeettSSttrriinnggWWccss)	func-
  tion ignore this resource.

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

  _m_a_x__l_e_n_g_t_h
	 Specifies the maximum allowable length	of the text string

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

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)), XXmmTTeexxttSSeettSSttrriinngg((33XX)), and XXmmTTeexxttSSeettSSttrriinnggWWccss((33XX)).




























