Merge branch 'devel/upgrade' into tizen
[platform/upstream/libXt.git] / man / XtDisplayStringConversionWarning.man
1 .\" Copyright (c) 1993, 1994  X Consortium
2 .\"
3 .\" Permission is hereby granted, free of charge, to any person obtaining
4 .\" a copy of this software and associated documentation files (the
5 .\" "Software"), to deal in the Software without restriction, including
6 .\" without limitation the rights to use, copy, modify, merge, publish,
7 .\" distribute, sublicense, and/or sell copies of the Software, and to
8 .\" permit persons to whom the Software furnished to do so, subject to
9 .\" the following conditions:
10 .\"
11 .\" The above copyright notice and this permission notice shall be included
12 .\" in all copies or substantial portions of the Software.
13 .\"
14 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 .\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 .\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 .\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 .\" OTHER DEALINGS IN THE SOFTWARE.
21 .\"
22 .\" Except as contained in this notice, the name of the X Consortium shall
23 .\" not be used in advertising or otherwise to promote the sale, use or
24 .\" other dealing in this Software without prior written authorization
25 .\" from the X Consortium.
26 .\"
27 .ds tk X Toolkit
28 .ds xT X Toolkit Intrinsics \- C Language Interface
29 .ds xI Intrinsics
30 .ds xW X Toolkit Athena Widgets \- C Language Interface
31 .ds xL Xlib \- C Language X Interface
32 .ds xC Inter-Client Communication Conventions Manual
33 .ds Rn 3
34 .ds Vn 2.2
35 .hw XtDisplay-String-Conversion-Warning wid-get
36 .na
37 .de Ds
38 .nf
39 .\\$1D \\$2 \\$1
40 .ft CW
41 .ps \\n(PS
42 .\".if \\n(VS>=40 .vs \\n(VSu
43 .\".if \\n(VS<=39 .vs \\n(VSp
44 ..
45 .de De
46 .ce 0
47 .if \\n(BD .DF
48 .nr BD 0
49 .in \\n(OIu
50 .if \\n(TM .ls 2
51 .sp \\n(DDu
52 .fi
53 ..
54 .de IN          \" send an index entry to the stderr
55 ..
56 .de Pn
57 .ie t \\$1\fB\^\\$2\^\fR\\$3
58 .el \\$1\fI\^\\$2\^\fP\\$3
59 ..
60 .de ZN
61 .ie t \fB\^\\$1\^\fR\\$2
62 .el \fI\^\\$1\^\fP\\$2
63 ..
64 .ny0
65 .TH XtDisplayStringConversionWarning __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
66 .SH NAME
67 XtDisplayStringConversionWarning \- issue a conversion warning message
68 .SH SYNTAX
69 .HP
70 void XtDisplayStringConversionWarning(Display* \fIdisplay\fP, String
71 \fIfrom_value\fP, \fIto_type\fP);
72 .SH ARGUMENTS
73 .IP \fIdisplay\fP 1i
74 Specifies the display connection with which the conversion is associated.
75 .IP \fIfrom_value\fP 1i
76 Specifies the string that could not be converted.
77 .IP \fIto_type\fP 1i
78 Specifies the target representation type requested.
79 .SH DESCRIPTION
80 The
81 .ZN XtDisplayStringConversionWarning
82 function issues a warning message using
83 .ZN XtAppWarningMsg
84 with name ``conversionError'', type ``string'', class ``XtToolkitError,
85 and the default message string ``Cannot convert "\fIfrom_value\fP" to
86 type \fIto_type\fP''.
87 .LP
88 To issue other types of warning or error messages, the type converter
89 should use
90 .ZN XtAppWarningMsg
91 or
92 .ZN XtAppErrorMsg .
93 .SH "SEE ALSO"
94 XtAppWarningMsg(3t)
95 .br
96 \fI\*(xT\fP
97 .br
98 \fI\*(xL\fP