logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

XtAppAddConverter, XtAddConverter - register resource converter

Arguments

app_context
                 Specifies the application context.

       converter Specifies the type converter procedure.

       convert_args
                 Specifies how to compute the additional arguments to the converter or NULL.

       from_type Specifies the source type.

       num_args  Specifies the number of additional arguments to the converter or zero.

       to_type   Specifies 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.

Name

       XtAppAddConverter, XtAddConverter - register resource converter

See Also

XtConvert(3), XtStringConversionWarning(3)
       XToolkitIntrinsics-CLanguageInterfaceXlib-CLanguageXInterface

X Version 11                                       libXt 1.2.1                              XtAppAddConverter(3)

Syntax

       #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);

See Also