XmCvtStringToUnitType3
A function that converts a string to a unit-type value
Usage
void XmCvtStringToUnitType(
Cardinal *
num_args,
XrmValue *
from_val,
XrmValue *
to_val);
Overview
XmCvtStringToUnitType converts a string to a unit type. Refer to the reference pages for XmGadget, XmManager, or XmPrimitive 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.
- args
-
Specifies a list of additional
XrmValuearguments 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.
- num_args
-
Specifies the number of additional
XrmValuearguments. This argument is often zero.
- from_val
-
Specifies the value to convert
- to_val
-
Specifies the descriptor to use to return the converted value
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie) to Debian 8 (Jessie)