logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XmRepTypeValidValue — A representation type manager function that tests the validity of a numerical value

Description

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.

       rep_type_id
                 Specifies the identification number of the representation type.

       test_value
                 Specifies the numerical value to test.

       enable_default_warning
                 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
                 handling.

Name

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"

Return

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

Synopsis

       #include <Xm/RepType.h>
       BooleanXmRepTypeValidValue(
       XmRepTypeIdrep_type_id,
       unsignedchartest_value,
       Widgetenable_default_warning);

See Also