XtAddConverter (3)
Leading comments
Copyright 1993 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and thi...
NAME
XtAppAddConverter, XtAddConverter - register resource converterSYNTAX
- 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, XtConverter 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 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 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