XmuCvtStringToJustify(Xmu) 6 January 1993 XmuCvtStringToJustify(Xmu)
X Version 11 (Release 5)
Name
XmuCvtStringToJustify - convert string to XtJustify value
Syntax
cc . . . -lXmu
#include <X11/Xmu/Converters.h>
void XmuCvtStringToJustify(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 XmuCvtStringToJustify function converts a string to an XtJustify
enumeration value. The string "left" converts to XtJustifyLeft, "center"
converts to XtJustifyCenter, and "right" converts to XtJustifyRight. The
case of the string does not matter. To use this converter, include the
following in your widget's ClassInitialize procedure:
XtAddConverter(XtRString, XtRJustify,
XmuCvtStringToJustify, NULL, 0);
See also
XmuCvtFunctionToCallback(Xmu), XmuCvtStringToBackingStore(Xmu),
XmuCvtStringToColorCursor(Xmu), XmuCvtStringToCursor(Xmu),
XmuCvtStringToGravity(Xmu), XmuCvtStringToLong(Xmu),
XmuCvtStringToOrientation(Xmu), XmuCvtStringToShapeStyle(Xmu),
XmuNewCvtStringToWidget(Xmu), XmuReshapeWidget(Xmu),
XmuCvtStringToWidget(Xmu)
Xlib - C Language X Interface