XmCvtStringToUnitType(3X)

XmCvtStringToUnitType -- A function that converts a string to a unit-type value

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     XmCvtStringToUnitType  -- A  function that converts a string to a unit-type
     value

SYNOPSIS
     #include <Xm/Xm.h>

     void XmCvtStringToUnitType (args, num_args, from_val, to_val)
          XrmValuePtrargs;
          Cardinal  * num_args;
          XrmValue  * from_val;
          XrmValue  * to_val;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmCvtStringToUnitType converts a string to a unit type.  Refer to  the  man
     pages  for  XmGadget,  XmManager,  or  XmPrimitive for a description of the
     valid unit types.  Use of this function as a resource  converter  is  obso-
     lete.   It has been replaced by a new resource converter that uses the Rep-
     Type facility.


     args   Specifies a list of additional XrmValue arguments to  the  converter
            if  additional context is needed to perform the conversion.  For ex-
            ample, 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 XrmValue arguments.   This  argu-
            ment is often zero.

     from_val
            Specifies the value to convert

     to_val Specifies the descriptor to use to return the converted value


RELATED INFORMATION
     XmGadget(3X), XmManager(3X), and XmPrimitive(3X).

                                                       XmCvtStringToUnitType(3X)