


XmRepTypeValidValue(3X)				      XmRepTypeValidValue(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmRReeppTTyyppeeVVaalliiddVVaalluuee -	A representation type manager function that tests the
  validity of a	numerical value	of a  representation type resource

SYNOPSIS


  ##iinncclluuddee <<XXmm//RReeppTTyyppee..hh>>
  BBoooolleeaann XXmmRReeppTTyyppeeVVaalliiddVVaalluuee ((_r_e_p__t_y_p_e__i_d, _t_e_s_t__v_a_l_u_e,
		      _e_n_a_b_l_e__d_e_f_a_u_l_t__w_a_r_n_i_n_g))
       XXmmRReeppTTyyppeeIIdd _r_e_p__t_y_p_e__i_d;;
       uunnssiiggnneedd	cchhaarr_t_e_s_t__v_a_l_u_e;;
       WWiiddggeett	   _e_n_a_b_l_e__d_e_f_a_u_l_t__w_a_r_n_i_n_g;;

DESCRIPTION
  XXmmRReeppTTyyppeeVVaalliiddVVaalluuee tests the	validity of a numerical	value for a given
  representation type resource.	 The function generates	a default warning
  message if the value is invalid and the _e_n_a_b_l_e__d_e_f_a_u_l_t__w_a_r_n_i_n_g argument is
  non-NULL.

  _r_e_p__t_y_p_e__i_d
	    Specifies the identification number	of the representation type.

  _t_e_s_t__v_a_l_u_e
	    Specifies the numerical value to test.

  _e_n_a_b_l_e__d_e_f_a_u_l_t__w_a_r_n_i_n_g
	    Specifies the ID of	the widget that	contains a default warning
	    message.  If this parameter	is NULL, no default warning message
	    is generated and the application must provide its own error	han-
	    dling.

RETURN VALUE
  Returns True if the specified	value is valid;	otherwise, returns False.

RELATED	INFORMATION
  XXmmRReeppTTyyppeeGGeettIIdd((33XX)) and XXmmRReeppTTyyppeeRReeggiisstteerr((33XX)).





















