XmuCvtStringToBackingStore(Xmu) X Version 11 (Release 5)
6 January 1993
Name
XmuCvtStringToBackingStore - convert string to backing-store integer
Syntax
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.
numargs 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" con-
verts 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);
See also
XmuCvtFunctionToCallback(Xmu), XmuCvtStringToColorCursor(Xmu),
XmuCvtStringToCursor(Xmu), XmuCvtStringToGravity(Xmu),
XmuCvtStringToJustify(Xmu), XmuCvtStringToLong(Xmu),
XmuCvtStringToOrientation(Xmu), XmuCvtStringToShapeStyle(Xmu),
XmuNewCvtStringToWidget(Xmu), XmuReshapeWidget(Xmu),
XmuCvtStringToWidget(Xmu)
Xlib - C Language X Interface