X Version 11 (Release 6.1)
XmuCvtFunctionToCallback(X3xmu)
XmuCvtFunctionToCallback --
convert callback procedure to callback list
Synopsis
cc . . . -lXmu
#include <X11/Xmu/Converters.h>
void XmuCvtFunctionToCallback(args, num_args, fromVal, toVal)
XrmValue *args;
Cardinal *num_args;
XrmValuePtr fromVal;
XrmValuePtr toVal;
Arguments
args-
Argument ignored.
num_args-
Argument ignored.
fromVal-
Specifies string to convert.
toVal-
Returns the converted value.
Description
This XmuCvtFunctionToCallback function converts a callback procedure
to a callback list containing
that procedure, with NULL closure data.
To use this converter, include the
following in your widget's ClassInitialize procedure:
XtAddConverter(XtRCallProc, XtRCallback,
XmuCvtFunctionToCallback, NULL, 0);
References
XmuCvtStringToBackingStore(X3xmu),
XmuCvtStringToBackingStore(X3xmu),
XmuCvtStringToShapeStyle(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