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

NAME

6       XtAppSetTypeConverter, XtSetTypeConverter - register resource converter
7

SYNTAX

9       void XtAppSetTypeConverter(XtAppContext app_context, String from_type,
10              String to_type, XtConverter converter, XtConvertArgList con‐
11              vert_args, Cardinal num_args, XtCacheType cache_type, XtDestruc‐
12              tor destructor);
13
14       void XtSetTypeConverter(String from_type, String to_type, XtConverter
15              converter, XtConvertArgList convert_args, Cardinal num_args,
16              XtCacheType cache_type, XtDestructor destructor);
17

ARGUMENTS

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

DESCRIPTION

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

SEE ALSO

55       X Toolkit Intrinsics - C Language Interface
56       Xlib - C Language X Interface
57
58
59
60X Version 11                      libXt 1.1.5         XtAppSetTypeConverter(3)
Impressum