1XtAppAddConverter(3)      XT COMPATIBILITY FUNCTIONS      XtAppAddConverter(3)
2
3
4

NAME

6       XtAppAddConverter, XtAddConverter - register resource converter
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       void XtAppAddConverter(XtAppContext app_context, const char *from_type,
12              const char *to_type, XtConverter converter, XtConvertArgList
13              convert_args, Cardinal num_args);
14
15       void XtAddConverter(const char *from_type, const char *to_type, XtCon‐
16              verter converter, XtConvertArgList convert_args, Cardinal
17              num_args);
18

ARGUMENTS

20       app_context
21                 Specifies the application context.
22
23       converter Specifies the type converter procedure.
24
25       convert_args
26                 Specifies how to compute the additional arguments to the con‐
27                 verter or NULL.
28
29       from_type Specifies the source type.
30
31       num_args  Specifies the number of additional arguments to the converter
32                 or zero.
33
34       to_type   Specifies the destination type.
35

DESCRIPTION

37       XtAppAddConverter is equivalent in function to XtAppSetTypeConverter
38       with cache_type equal to XtCacheAll for old-format type converters. It
39       has been superseded by XtAppSetTypeConverter.
40
41       XtAddConverter is equivalent in function to XtSetTypeConverter with
42       cache_type equal to XtCacheAll for old-format type converters. It has
43       been superseded by XtSetTypeConverter.
44

SEE ALSO

46       XtConvert(3), XtStringConversionWarning(3)
47       X Toolkit Intrinsics - C Language Interface
48       Xlib - C Language X Interface
49
50
51
52X Version 11                     libXt 1.1.5.1            XtAppAddConverter(3)
Impressum