'\" t .\" CvtStr.sgm /main/10 1996/09/08 20:37:40 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 "XmCvtStringToUnitType" 3 .SH "NAME" \fBXmCvtStringToUnitType\fP \(em A function that converts a string to a unit-type value "XmCvtStringToUnitType" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmCvtStringToUnitType\fP\fR( \fBXrmValuePtr \fBargs\fR\fR, \fBCardinal \fB* num_args\fR\fR, \fBXrmValue \fB* from_val\fR\fR, \fBXrmValue \fB* to_val\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmCvtStringToUnitType\fP converts a string to a unit type\&. Refer to the reference pages for \fBXmGadget\fP, \fBXmManager\fP, or \fBXmPrimitive\fP for a description of the valid unit types\&. Use of this function as a resource converter is obsolete\&. It has been replaced by a new resource converter that uses the RepType facility\&. .IP "\fIargs\fP" 10 Specifies a list of additional \fBXrmValue\fP arguments to the converter if additional context is needed to perform the conversion\&. For example, the string-to-font converter needs the widget\&'s screen and the string-to-pixel converter needs the widget\&'s screen and color map\&. This argument is often NULL\&. .IP "\fInum_args\fP" 10 Specifies the number of additional \fBXrmValue\fP arguments\&. This argument is often zero\&. .IP "\fIfrom_val\fP" 10 Specifies the value to convert .IP "\fIto_val\fP" 10 Specifies the descriptor to use to return the converted value .SH "RELATED" .PP \fBXmGadget\fP(3), \fBXmManager\fP(3), and \fBXmPrimitive\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:21