1XmRepTypeValidValue(library call) XmRepTypeValidValue(library call)
2
3
4
6 XmRepTypeValidValue — A representation type manager function that tests
7 the validity of a numerical value of a representation type resource
8
10 #include <Xm/RepType.h>
11 Boolean XmRepTypeValidValue(
12 XmRepTypeId rep_type_id,
13 unsigned char test_value,
14 Widget enable_default_warning);
15
17 XmRepTypeValidValue tests the validity of a numerical value for a given
18 representation type resource. The function generates a default warning
19 message if the value is invalid and the enable_default_warning argument
20 is non-NULL.
21
22 rep_type_id
23 Specifies the identification number of the representation
24 type.
25
26 test_value
27 Specifies the numerical value to test.
28
29 enable_default_warning
30 Specifies the ID of the widget that contains a default warn‐
31 ing message. If this parameter is NULL, no default warning
32 message is generated and the application must provide its own
33 error handling.
34
36 Returns True if the specified value is valid; otherwise, returns False.
37
39 XmRepTypeGetId(3) and XmRepTypeRegister(3).
40
41
42
43 XmRepTypeValidValue(library call)