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

FreeBSD Manual Pages

  
 
  

home | help
XtAppSetTypeConverter(3)	 XT FUNCTIONS	      XtAppSetTypeConverter(3)

NAME
       XtAppSetTypeConverter, XtSetTypeConverter - register resource converter

SYNTAX
       #include	<X11/Intrinsic.h>

       void XtAppSetTypeConverter(XtAppContext app_context, const char
	      *from_type, const	char * to_type,	XtTypeConverter	converter,
	      XtConvertArgList convert_args, Cardinal num_args,	XtCacheType
	      cache_type, XtDestructor destructor);

       void XtSetTypeConverter(const char *from_type, const char *to_type, Xt-
	      TypeConverter 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 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.

       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 produced by this
		 conversion, or	NULL if	no additional action is	required to
		 deallocate resources produced by the converter.

DESCRIPTION
       XtSetTypeConverter registers the	specified type converter and destruc-
       tor in all application contexts created by the calling process, includ-
       ing any future application contexts that	may be created.	 XtAppSetType-
       Converter registers the specified type converter	in the single applica-
       tion context specified.	If the same from_type and to_type are speci-
       fied in multiple	calls to either	function, the most recent overrides
       the previous ones.

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

X Version 11			  libXt	1.2.0	      XtAppSetTypeConverter(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=XtAppSetTypeConverter&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help