Query: xtstringconversionwarning
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XtStringConversionWarning() XtStringConversionWarning()
Name
XtStringConversionWarning - emit boilerplate string conversion error message.
Synopsis
void XtStringConversionWarning(src, dst_type)
String src, dst_type;
Inputs
src Specifies the string that could not be converted.
dst_type Specifies the name of the type to which the string could not be converted.
Description
XtStringConversionWarning() is a convenience routine for use in old-style resource converters that convert from strings. It issues a warn-
ing message with the name conversionError, type string, class XtToolkitError, and default message string:
"Cannot convert src to type dst_type"
It can be used by a conversion routine to announce a nonfatal conversion error.
Usage
New-style resource converters should call XtDisplayStringConversionWarning() instead of XtStringConversionWarning() to display their con-
version warning messages. These functions display similar messages and differ only in that XtDisplayStringConversionWarning() is passed a
display pointer as its first argument.
Old-style converters are not passed a display pointer, and so must use the old function XtStringConversionWarning() which does not require
one.
See Also
XtDisplayStringConversionWarning(1).
Xt - Error Handling XtStringConversionWarning()
| Related Man Pages |
|---|
| xtdirectconvert(3xt) - ultrix |
| xtconvert(3) - centos |
| xtconvert(3) - x11r4 |
| xtdirectconvert(3) - x11r4 |
| xtconvert(3xt) - ultrix |
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| How to list file size on HPUX? |
| Thank you members and admins |
| Seeking Alternative for diff in hp |
| Shopt -s histappend |