X Version 11 (Release 6.1)

XmuCvtStringToBackingStore(X3xmu)


XmuCvtStringToBackingStore -- convert string to backing-store integer

Synopsis

cc . . . -lXmu

#include <X11/Xmu/Converters.h>

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

Arguments


args
Argument ignored.

num_args
This argument must be a pointer to a Cardinal containing the value 0.

fromVal
Specifies the string to convert.

toVal
Returns the converted value.

Description

The XmuCvtStringToBackingStore function converts a string to a backing-store integer, as defined in <X11/X.h >. The string notUseful converts to NotUseful, whenMapped converts to WhenMapped, and always converts to Always. The string default converts to the value Always+ WhenMapped+ NotUseful. The case of the string does not matter. To use this converter, include the following in your widget's ClassInitialize procedure:
   XtAddConverter(XtRString, XtRBackingStore,
        XmuCvtStringToBackingStore, NULL, 0);

References

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


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004