XT FUNCTIONS XtAppSetTypeConverter(3xt)
NAME
XtAppSetTypeConverter, XtSetTypeConverter - register
resource converter SYNTAXcc [ flag... ] file... -lXt [ library... ]
void XtAppSetTypeConverter(XtAppContext app_context, String
from_type, String to_type, XtConverter converter,
XtConvertArgList convert_args, Cardinal num_args,
XtCacheType cache_type, XtDestructor destructor);
void XtSetTypeConverter(String from_type, String to_type,
XtConverter converter, XtConvertArgList convert_args,
Cardinal num_args, XtCacheType cache_type, XtDestructor
destructor); ARGUMENTSapp_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.
cache_type
Specifies whether or not resources produced bythis converter are sharable or display-specific
and when they should be freed. destructorSpecifies a destroy procedure for resources pro-
duced by this conversion, or NULL if no additionalaction is required to deallocate resources pro-
duced by the converter.DESCRIPTION
XtSetTypeConverter registers the specified type converter
and destructor in all application contexts created by the calling process, including any future application contexts that may be created. XtAppSetTypeConverter registers the specified type converter in the single application contextspecified. If the same from_type and to_type are specified
X Version 11 Last change: libXt 1.0.8 1 XT FUNCTIONS XtAppSetTypeConverter(3xt)in multiple calls to either function, the most recent over-
rides the previous ones.SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 2