XtAppAddConverter(3xt) XT COMPATIBILITY FUNCTIONS XtAppAddConverter(3xt)NAME
XtAppAddConverter, XtAddConverter - register resource converter
SYNTAX
cc [ flag... ] file... -lXt [ library... ]
void XtAppAddConverter(XtAppContext app_context, String from_type,
String to_type, XtConverter converter, XtConvertArgList con‐
vert_args, Cardinal num_args);
void XtAddConverter(String from_type, String to_type, XtConverter con‐
verter, XtConvertArgList convert_args, Cardinal num_args);
ARGUMENTS
app_context
Specifies the application context.
converter Specifies the type converter procedure.
convert_args
Specifies how to compute the additional arguments to the con‐
verter 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.
DESCRIPTIONXtAppAddConverter 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 ALSOXtConvert(3Xt), XtStringConversionWarning(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬───────────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼───────────────────────────────────┤
│Availability │x11/library/toolkit/libxt │
├─────────────────────────────┼───────────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼───────────────────────────────────┤
│MT-Level │See XtToolkitThreadInitialize(3XT) │
└─────────────────────────────┴───────────────────────────────────┘
X Version 11 libXt 1.0.8 XtAppAddConverter(3xt)