X Version 11 (Release 6.1)

XtDisplayStringConversionWarning(X3xt)


XtDisplayStringConversionWarning -- issue a conversion warning message

Synopsis

void XtDisplayStringConversionWarning(display, from_value,
              to_type)
    Display* display;
    String from_value, to_type;

Arguments


display
Specifies the displaly connection with which the conversion is associated.

from_value
Specifies the string that could not be converted.

to_type
Specifies the target representation type requested.

Description

The XtDisplayStringConversionWarning function issues a warning message using XtAppWarningMsg with name ``conversionError'', type ``string'', class ``XtToolkitError'', and the default message string Cannot convert from_value to type to_type.

To issue other types of warning or error messages, the type converter should use XtAppWarningMsg or XtAppErrorMsg.

References

XtAppWarningMsg(X3xt) X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004