MirBSD manpage: XtAddConverter(3), XtAppAddConverter(3)


XtAppAddConverter(3XXT COMPATIBILITY FUNCTIXtAppAddConverter(3Xt)

NAME

     XtAppAddConverter, XtAddConverter - register resource con-
     verter

SYNTAX

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

     void XtAddConverter(String from_type, String to_type, XtCon-
          verter converter, XtConvertArgList convert_args, Cardi-
          nal 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.

DESCRIPTION

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

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

SEE ALSO

     XtConvert(3Xt), XtStringConversionWarning(3Xt)
     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.