XtAddConverter(3)

XtAddConverter3

Register resource converter

Part of XtAppAddConverter(3).

Usage

#include <X11/Intrinsic.h>

void XtAppAddConverter(XtAppContext app_context, const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args);

void XtAddConverter(const char *from_type, const char *to_type, XtConverter converter, XtConvertArgList convert_args, Cardinal num_args);

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.

Overview

XtAppAddConverter is equivalent in function to XtAppSetTypeConverter with cache_type equal to XtCacheAll for old-format type converters. It has been superseded by XtAppSetTypeConverter.

XtAddConverter is equivalent in function to XtSetTypeConverter with cache_type equal to XtCacheAll for old-format type converters. It has been superseded by XtSetTypeConverter.

Releases

11 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11
  8. 12–13
  9. Arch

From libxt 1.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.