Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmCvStrin(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmCvtStringToUnitType(Xm)      6 January 1993      XmCvtStringToUnitType(Xm)


 Name

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

 Syntax


    #include <Xm/Xm.h>

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


 Description

    XmCvtStringToUnitType converts a string to a unit type. Refer to the
    XmGadget(Xm), XmManager(Xm), or XmPrimitive(Xm) man pages for a descrip-
    tion of the valid unit types.  Use of this function as a resource con-
    verter is obsolete. It has been replaced by a new resource converter that
    uses the RepType facility.

    args    Specifies a list of additional XrmValue arguments to the con-
            verter 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.

    numargs
            Specifies the number of additional XrmValue arguments. This argu-
            ment is often zero.

    fromval
            Specifies the value to convert

    toval  Specifies the descriptor to use to return the converted value

 See also

    XmGadget(Xm), XmManager(Xm) and XmPrimitive(Xm).


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026