Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XtAppAddConverter(3)	  XT COMPATIBILITY FUNCTIONS	  XtAppAddConverter(3)

NAME
       XtAppAddConverter, XtAddConverter - register resource converter

SYNTAX
       #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, XtCon-
	      verter 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 con-
		 verter	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 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.

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

X Version 11			  libXt	1.2.0		  XtAppAddConverter(3)

NAME | SYNTAX | ARGUMENTS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XtAppAddConverter&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help