XtDisplayStringConversionWarning(3) XT FUNCTIONS XtDisplayStringConversionWarning(3)

# [NAME](#NAME)

XtDisplayStringConversionWarning - issue a conversion warning message

# [SYNTAX](#SYNTAX)

#include &lt;X11/Intrinsic.h&gt;

void XtDisplayStringConversionWarning(Display* *display*, const char \**from\_value*, const char \**to\_type*);

# [ARGUMENTS](#ARGUMENTS)

[*display*](#display)

Specifies the display connection with which the conversion is associated.

[*from\_value*](#from_value)

Specifies the string that could not be converted.

[*to\_type*](#to_type)

Specifies the target representation type requested.

# [DESCRIPTION](#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**.

# [SEE ALSO](#SEE_ALSO)

[XtAppWarningMsg(3t)](/man/os/libxt/XtAppWarningMsg.3t)  
*X Toolkit Intrinsics - C Language Interface*  
*Xlib - C Language X Interface*

libXt 1.3.1 X Version 11

---

Document: XtDisplayStringConversionWarning(3) from libxt 1.3.1-r11 (Chainguard OS)
Source: https://gitlab.freedesktop.org/xorg/lib/libxt.git
