'\" t
...\" RepTypVa.sgm /main/8 1996/09/08 20:58:58 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl \" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl \" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie !\\*(f4 \{\
. ft \\*(f4
. ds f4\"
' br \}
.el .ie !\\*(f3 \{\
. ft \\*(f3
. ds f3\"
' br \}
.el .ie !\\*(f2 \{\
. ft \\*(f2
. ds f2\"
' br \}
.el .ie !\\*(f1 \{\
. ft \\*(f1
. ds f1\"
' br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
.TH "XmRepTypeValidValue" "library call"
.SH "NAME"
\fBXmRepTypeValidValue\fP \(em A representation type manager function that
tests the validity of a numerical value of a representation type resource
.iX "XmRepTypeValidValue"
.iX "representation type manager functions" "XmRepTypeValidValue"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/RepType\&.h>
\fBBoolean \fBXmRepTypeValidValue\fP\fR(
\fBXmRepTypeId \fBrep_type_id\fR\fR,
\fBunsigned char \fBtest_value\fR\fR,
\fBWidget \fBenable_default_warning\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmRepTypeValidValue\fP 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 \fIenable_default_warning\fP argument is non-NULL\&.
.IP "\fIrep_type_id\fP" 10
Specifies the identification number of the representation
type\&.
.IP "\fItest_value\fP" 10
Specifies the numerical value to test\&.
.IP "\fIenable_default_warning\fP" 10
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\&.
.SH "RETURN"
.PP
Returns True if the specified value is valid; otherwise, returns False\&.
.SH "RELATED"
.PP
\fBXmRepTypeGetId\fP(3) and
\fBXmRepTypeRegister\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:29