Unix/Linux Go Back    


X11R7.4 - man page for xtappsettypeconverter (x11r4 section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


XtAppSetTypeConverter(3)		   XT FUNCTIONS 		 XtAppSetTypeConverter(3)

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, XtCa-
	      cheType cache_type, XtDestructor destructor);

       void XtSetTypeConverter(String from_type, String to_type, XtConverter converter, XtConver-
	      tArgList 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 produced by this conversion, or NULL
		 if no additional action is required to deallocate resources produced by the con-
		 verter.

DESCRIPTION
       XtSetTypeConverter registers the specified type converter and destructor in all applica-
       tion 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 overrides the previous ones.

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

X Version 11				   libXt 1.0.5			 XtAppSetTypeConverter(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 06:57 AM.