1XtAppSetTypeConverter(3)         XT FUNCTIONS         XtAppSetTypeConverter(3)
2
3
4

NAME

6       XtAppSetTypeConverter, XtSetTypeConverter - register resource converter
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       void XtAppSetTypeConverter(XtAppContext app_context, const char
12              *from_type, const char * to_type, XtTypeConverter converter,
13              XtConvertArgList convert_args, Cardinal num_args, XtCacheType
14              cache_type, XtDestructor destructor);
15
16       void XtSetTypeConverter(const char *from_type, const char *to_type, Xt‐
17              TypeConverter converter, XtConvertArgList convert_args, Cardinal
18              num_args, XtCacheType cache_type, XtDestructor destructor);
19

ARGUMENTS

21       app_context
22                 Specifies the application context.
23
24       converter Specifies the type converter procedure.
25
26       convert_args
27                 Specifies how to compute the additional arguments to the con‐
28                 verter or NULL.
29
30       from_type Specifies the source type.
31
32       num_args  Specifies the number of additional arguments to the converter
33                 or zero.
34
35       to_type   Specifies the destination type.
36
37       cache_type
38                 Specifies whether or not resources produced by this converter
39                 are sharable or display-specific and when they should be
40                 freed.
41
42       destructor
43                 Specifies a destroy procedure for resources produced by this
44                 conversion, or NULL if no additional action is required to
45                 deallocate resources produced by the converter.
46

DESCRIPTION

48       XtSetTypeConverter registers the specified type converter and destruc‐
49       tor in all application contexts created by the calling process, includ‐
50       ing any future application contexts that may be created.  XtAppSetType‐
51       Converter registers the specified type converter in the single applica‐
52       tion context specified.  If the same from_type and to_type are speci‐
53       fied in multiple calls to either function, the most recent overrides
54       the previous ones.
55

SEE ALSO

57       X Toolkit Intrinsics - C Language Interface
58       Xlib - C Language X Interface
59
60
61
62X Version 11                      libXt 1.2.1         XtAppSetTypeConverter(3)
Impressum