XmRepTypeValidValue(3) | Library Functions Manual | XmRepTypeValidValue(3) |
XmRepTypeValidValue — A representation type manager function that tests the validity of a numerical value of a representation type resource "XmRepTypeValidValue" "representation type manager functions" "XmRepTypeValidValue"
#include <Xm/RepType.h> Boolean XmRepTypeValidValue( XmRepTypeId rep_type_id, unsigned char test_value, Widget enable_default_warning);
XmRepTypeValidValue 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 enable_default_warning argument is non-NULL.
Returns True if the specified value is valid; otherwise, returns False.