DOKK / manpages / debian 12 / libxt-dev / XtAddConverter.3.en
XtAppAddConverter(3) XT COMPATIBILITY FUNCTIONS XtAppAddConverter(3)

XtAppAddConverter, XtAddConverter - register resource converter

#include <X11/Intrinsic.h>

void XtAppAddConverter(XtAppContext app_context, const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args);

void XtAddConverter(const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args);

Specifies the application context.
Specifies the type converter procedure.
Specifies how to compute the additional arguments to the converter or NULL.
Specifies the source type.
Specifies the number of additional arguments to the converter or zero.
Specifies the destination type.

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.

XtConvert(3), XtStringConversionWarning(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface

libXt 1.2.1 X Version 11