<!-- $XConsortium: RepTypVa.sgm /main/8 1996/09/08 20:58:58 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN376.rsml.1">
<RefMeta>
<RefEntryTitle>XmRepTypeValidValue</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmRepTypeValidValue</Function></RefName>
<RefPurpose>A representation type manager function that
tests the validity of a numerical value of a  representation type resource
<IndexTerm>
<Primary>XmRepTypeValidValue</Primary>
</IndexTerm><IndexTerm>
<Primary>representation type manager functions</Primary>
<Secondary>XmRepTypeValidValue</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/RepType.h>
</FuncSynopsisInfo>
<FuncDef>Boolean <Function>XmRepTypeValidValue</Function></FuncDef>
<!--<ParamDef><Replaceable>rep_type_id, test_value, enable_default_warning</Replaceable></ParamDef>-->
<ParamDef>XmRepTypeId <Parameter>rep_type_id</Parameter></ParamDef>
<ParamDef>unsigned char <Parameter>test_value</Parameter></ParamDef>
<ParamDef>Widget <Parameter>enable_default_warning</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmRepTypeValidValue</Function> 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 <Symbol Role="Variable">enable_default_warning</Symbol> argument is non-NULL.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">rep_type_id</Symbol></Term>
<ListItem>
<Para>Specifies the identification number of the representation
type.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">test_value</Symbol></Term>
<ListItem>
<Para>Specifies the numerical value to test.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">enable_default_warning</Symbol></Term>
<ListItem>
<Para>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.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>Returns True if the specified value is valid; otherwise, returns False.
</Para>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmRepTypeGetId; and
&cdeman.XmRepTypeRegister;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
