1XmCvtStringToUnitType(library call) XmCvtStringToUnitType(library call)
2
3
4
6 XmCvtStringToUnitType — A function that converts a string to a unit-
7 type value
8
10 #include <Xm/Xm.h>
11 void XmCvtStringToUnitType(
12 XrmValuePtr args,
13 Cardinal * num_args,
14 XrmValue * from_val,
15 XrmValue * to_val);
16
18 XmCvtStringToUnitType converts a string to a unit type. Refer to the
19 reference pages for XmGadget, XmManager, or XmPrimitive for a descrip‐
20 tion of the valid unit types. Use of this function as a resource con‐
21 verter is obsolete. It has been replaced by a new resource converter
22 that uses the RepType facility.
23
24 args Specifies a list of additional XrmValue arguments to the con‐
25 verter if additional context is needed to perform the conver‐
26 sion. For example, the string-to-font converter needs the
27 widget's screen and the string-to-pixel converter needs the
28 widget's screen and color map. This argument is often NULL.
29
30 num_args Specifies the number of additional XrmValue arguments. This
31 argument is often zero.
32
33 from_val Specifies the value to convert
34
35 to_val Specifies the descriptor to use to return the converted value
36
38 XmGadget(3), XmManager(3), and XmPrimitive(3).
39
40
41
42 XmCvtStringToUnitType(library call)