XmRepTypeValidValue(3X) SDK X11 R4.11MU05 XmRepTypeValidValue(3X)
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 (reptypeid, testvalue, enabledefaultwarning)
XmRepTypeId reptypeid;
unsigned chartestvalue;
Widget enabledefaultwarning;
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
enabledefaultwarning argument is non-NULL.
reptypeid
Specifies the identification number of the representation
type.
testvalue
Specifies the numerical value to test.
enabledefaultwarning
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.
RETURN VALUE
Returns True if the specified value is valid; otherwise, returns
False.
RELATED INFORMATION
XmRepTypeGetId(3X) and XmRepTypeRegister(3X).
Licensed material--property of copyright holder(s)