Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ CvtSOrie.Xmu.z() — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmuCvtStringToOrientation(Xmu)                     X Version 11 (Release 5)
                                                              6 January 1993


 Name

    XmuCvtStringToOrientation - convert string to XtOrientation enumeration
    value

 Syntax


    cc  . . .  -lXmu


    #include <X11/Xmu/Converters.h>

    void XmuCvtStringToOrientation(args, num_args, fromVal, toVal)
          XrmValuePtr *args;
          Cardinal *num_args;
          XrmValuePtr fromVal;
          XrmValuePtr toVal;


 Arguments


    args      Argument ignored.

    numargs  Argument ignored.

    fromVal   Specifies the string to convert.

    toVal     Returns the converted value.


 Description

    The XmuCvtStringToOrientation function converts a string to an XtOrienta-
    tion enumeration value.  The string "horizontal" converts to XtorientHor-
    izontal and "vertical" converts to XtorientVertical.  The case of the
    string does not matter.  To use this converter, include the following in
    your widget's ClassInitialize procedure:

       XtAddConverter(XtRString, XtROrientation,
           XmuCvtStringToOrientation, NULL, 0);


 See also

    XmuCvtFunctionToCallback(Xmu), XmuCvtStringToBackingStore(Xmu),
    XmuCvtStringToColorCursor(Xmu), XmuCvtStringToCursor(Xmu),
    XmuCvtStringToGravity(Xmu), XmuCvtStringToJustify(Xmu),
    XmuCvtStringToLong(Xmu), XmuCvtStringToShapeStyle(Xmu),
    XmuNewCvtStringToWidget(Xmu), XmuReshapeWidget(Xmu),
    XmuCvtStringToWidget(Xmu)
    Xlib - C Language X Interface


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