Manual Page Result
0
Command: XtAppSetTypeConverter | Section: 3 | Source: Digital UNIX | File: XtAppSetTypeConverter.3Xt.gz
XtAppSetTypeConverter(3Xt) XtAppSetTypeConverter(3Xt)
NAME
XtAppSetTypeConverter, XtSetTypeConverter - register resource converter
SYNOPSIS
void XtAppSetTypeConverter(app_context, from_type, to_type, converter,
convert_args, num_args, cache_type, destructor)
XtAppContext app_context;
String from_type;
String to_type;
XtConverter converter;
XtConvertArgList convert_args;
Cardinal num_args;
XtCacheType cache_type;
XtDestructor destructor;
void XtSetTypeConverter(from_type, to_type, converter, convert_args,
num_args, cache_type, destructor)
String from_type;
String to_type;
XtConverter converter;
XtConvertArgList convert_args;
Cardinal num_args;
XtCacheType cache_type;
XtDestructor destructor;
ARGUMENTS
Specifies the application context. Specifies the type converter proce-
dure. Specifies how to compute the additional arguments to the con-
verter or NULL. Specifies the source type. Specifies the number of
additional arguments to the converter or zero. Specifies the destina-
tion type. Specifies whether or not resources produced by this con-
verter are sharable or display-specific and when they should be freed.
Specifies a destroy procedure for resources produced by this conver-
sion, or NULL if no additional action is required to deallocate re-
sources produced by the converter.
DESCRIPTION
XtSetTypeConverter registers the specified type converter and destruc-
tor in all application contexts created by the calling process, includ-
ing any future application contexts that may be created. XtAppSetType-
Converter registers the specified type converter in the single applica-
tion context specified. If the same from_type and to_type are specified
in multiple calls to either function, the most recent overrides the
previous ones.
SEE ALSO
X Toolkit Intrinsics -- C Language Interface
Xlib -- C Language X Interface
XtAppSetTypeConverter(3Xt)