MirOS Manual: XtAppSetTypeConverter(3), XtSetTypeConverter(3)


XtAppSetTypeConverter(3Xt)XT FUNCTIONS XtAppSetTypeConverter(3Xt)

NAME

     XtAppSetTypeConverter, XtSetTypeConverter - register
     resource converter

SYNTAX

     void XtAppSetTypeConverter(XtAppContext app_context, String
          from_type, String to_type, XtConverter converter,
          XtConvertArgList convert_args, Cardinal num_args,
          XtCacheType cache_type, XtDestructor destructor);

     void XtSetTypeConverter(String from_type, String to_type,
          XtConverter converter, XtConvertArgList convert_args,
          Cardinal num_args, XtCacheType cache_type, XtDestructor
          destructor);

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 sharable or display-specific
               and when they should be freed.

     destructor
               Specifies a destroy procedure for resources pro-
               duced by this conversion, or NULL if no addional
               action is required to deallocate resources pro-
               duced by the converter.

DESCRIPTION

     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 over-
     rides the previous ones.

XFree86                   Version 4.5.0                         1

XtAppSetTypeConverter(3Xt)XT FUNCTIONS XtAppSetTypeConverter(3Xt)

SEE ALSO

     X Toolkit Intrinsics - C Language Interface
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         2

Generated on 2012-02-20 02:47:02 by $MirOS: src/scripts/roff2htm,v 1.70 2011/12/03 18:21:12 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002‒2011 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.

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