XtSetTypeConverter3
Register resource converter
Part of XtAppSetTypeConverter(3).
Arguments
- app_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 by this converter are shareable or display-specific and when they should be freed.
- destructor
-
Specifies a destroy procedure for resources produced by this conversion, or NULL if no additional action is required to deallocate resources produced by the converter.
Overview
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 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.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie) to Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster) to Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 7 (Wheezy)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)