


XmCvtStringToUnitType(3X)			    XmCvtStringToUnitType(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmCCvvttSSttrriinnggTTooUUnniittTTyyppee	- A function that converts a string to a unit-type
  value

SYNOPSIS


  ##iinncclluuddee <<XXmm//XXmm..hh>>
  vvooiidd XXmmCCvvttSSttrriinnggTTooUUnniittTTyyppee ((_a_r_g_s, _n_u_m__a_r_g_s, _f_r_o_m__v_a_l,	_t_o__v_a_l))
       XXrrmmVVaalluueePPttrr_a_r_g_s;;
       CCaarrddiinnaall	 * _n_u_m__a_r_g_s;;
       XXrrmmVVaalluuee	 * _f_r_o_m__v_a_l;;
       XXrrmmVVaalluuee	 * _t_o__v_a_l;;

DESCRIPTION
  XXmmCCvvttSSttrriinnggTTooUUnniittTTyyppee	converts a string to a unit type.  Refer to the	man
  pages	for XXmmGGaaddggeett, XXmmMMaannaaggeerr, or XXmmPPrriimmiittiivvee	for a description of the
  valid	unit types.  Use of this function as a resource	converter is
  obsolete.  It	has been replaced by a new resource converter that uses	the
  RepType facility.

  _a_r_g_s	 Specifies a list of additional	XXrrmmVVaalluuee arguments to the converter
	 if additional context is needed to perform the	conversion.  For
	 example, the string-to-font converter needs the widget's screen and
	 the string-to-pixel converter needs the widget's screen and color
	 map.  This argument is	often NULL.

  _n_u_m__a_r_g_s
	 Specifies the number of additional XXrrmmVVaalluuee arguments.	 This argu-
	 ment is often zero.

  _f_r_o_m__v_a_l
	 Specifies the value to	convert

  _t_o__v_a_l Specifies the descriptor to use to return the converted value

RELATED	INFORMATION
  XXmmGGaaddggeett((33XX)),	XXmmMMaannaaggeerr((33XX)), and XXmmPPrriimmiittiivvee((33XX)).




















