XtAppAddConverter(3Xt) — Subroutines — XT COMPATIBILITY FUNCTIONS
NAME
XtAppAddConverter, XtAddConverter − register resource converter
SYNTAX
void XtAppAddConverter(app_context, from_type, to_type, converter, convert_args, num_args)
XtAppContext app_context;
String from_type;
String to_type;
XtConverter converter;
XtConvertArgList convert_args;
Cardinal num_args;
void XtAddConverter(from_type, to_type, converter, convert_args, num_args)
String from_type;
String to_type;
XtConverter converter;
XtConvertArgList convert_args;
Cardinal num_args;
ARGUMENTS
app_contextSpecifies the application context.
converterSpecifies the type converter procedure.
convert_argsSpecifies how to compute the additional arguments to the converter or NULL.
from_typeSpecifies the source type.
num_argsSpecifies the number of additional arguments to the converter or zero.
to_typeSpecifies the destination type.
DESCRIPTION
XtAppAddConverter is equivalent in function to XtAppSetTypeConverter with cache_type equal to XtCacheAll for old-format type converters. It has been superseded by XtAppSetTypeConverter.
XtAddConverter is equivalent in function to XtSetTypeConverter with cache_type equal to XtCacheAll for old-format type converters. It has been superseded by XtSetTypeConverter.
SEE ALSO
XtConvert(3Xt), XtStringConversionWarning(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface
— X Version 11 — Release 6