XmRepTypeValidValue(3X)

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

As shipped in IRIX 6.5.7. Unchanged since IRIX 6.5.

NAME
     XmRepTypeValidValue --A representation type manager function that tests the
     validity of a numerical value of a  representation type resource

SYNOPSIS
     #include <Xm/RepType.h>

     Boolean XmRepTypeValidValue (rep_type_id, test_value, enable_default_warning)
          XmRepTypeId rep_type_id;
          unsigned chartest_value;
          Widget      enable_default_warning;


VERSION
     This page documents version 1.2 of the Motif library.

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_valueSpecifies 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  han-
               dling.


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

RELATED INFORMATION
     XmRepTypeGetId(3X) and XmRepTypeRegister(3X).

                                                         XmRepTypeValidValue(3X)