XtDisplayStringConversionWarning()XtDisplayStringConversionWarning()NameXtDisplayStringConversionWarning - issue a warning message during con‐
version of string resource values.
Synopsis
void XtDisplayStringConversionWarning(display, from_value, to_type)
Display *display;
String from_value, to_type;
Inputs
display Specifies the display 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.
Availability
Release 4 and later.
DescriptionXtDisplayStringConversionWarning() issues a warning message using XtAp‐
pWarningMsg() with name set to conversionError, type set to string,
class set to XtToolkitError and the default message string set to:
Cannot convert from_value to type to_typeUsage
This function is intended for use within "new-style" string resource
converters. To issue other types of warning or error messages, the
type converter should use XtAppWarningMsg() or XtAppErrorMsg()
directly.
XtDisplayStringConversionWarning() supersedes XtStringConversionWarn‐
ing() which does not take a Display * argument and can therefore be
used in "old-style" converters.
See AlsoXtAppErrorMsg(1), XtAppWarningMsg(1).
Xt - Resource Management XtDisplayStringConversionWarning()