1
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1994, 1996 X Consortium
2
.\" Copyright \(co 2000 The XFree86 Project, Inc.
4
.\" Permission is hereby granted, free of charge, to any person obtaining
5
.\" a copy of this software and associated documentation files (the
6
.\" "Software"), to deal in the Software without restriction, including
7
.\" without limitation the rights to use, copy, modify, merge, publish,
8
.\" distribute, sublicense, and/or sell copies of the Software, and to
9
.\" permit persons to whom the Software is furnished to do so, subject to
10
.\" the following conditions:
12
.\" The above copyright notice and this permission notice shall be included
13
.\" in all copies or substantial portions of the Software.
15
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16
.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18
.\" IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20
.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21
.\" OTHER DEALINGS IN THE SOFTWARE.
23
.\" Except as contained in this notice, the name of the X Consortium shall
24
.\" not be used in advertising or otherwise to promote the sale, use or
25
.\" other dealings in this Software without prior written authorization
26
.\" from the X Consortium.
28
.\" Copyright \(co 1985, 1986, 1987, 1988, 1989, 1990, 1991 by
29
.\" Digital Equipment Corporation
31
.\" Portions Copyright \(co 1990, 1991 by
34
.\" Permission to use, copy, modify and distribute this documentation for
35
.\" any purpose and without fee is hereby granted, provided that the above
36
.\" copyright notice appears in all copies and that both that copyright notice
37
.\" and this permission notice appear in all copies, and that the names of
38
.\" Digital and Tektronix not be used in in advertising or publicity pertaining
39
.\" to this documentation without specific, written prior permission.
40
.\" Digital and Tektronix makes no representations about the suitability
41
.\" of this documentation for any purpose.
42
.\" It is provided ``as is'' without express or implied warranty.
44
.\" $XFree86: xc/doc/man/X11/XmbRIC.man,v 1.3 2001/01/27 18:20:08 dawes Exp $
46
.ds xT X Toolkit Intrinsics \- C Language Interface
47
.ds xW Athena X Widgets \- C Language X Toolkit Interface
48
.ds xL Xlib \- C Language X Interface
49
.ds xC Inter-Client Communication Conventions Manual
56
.\".if \\n(VS>=40 .vs \\n(VSu
57
.\".if \\n(VS<=39 .vs \\n(VSp
80
.de IN \" send an index entry to the stderr
87
.\" choose appropriate monospace font
88
.\" the imagen conditional, 480,
89
.\" may be changed to L if LB is too
90
.\" heavy for your eyes...
92
.ie "\\*(.T"480" .ft L
93
.el .ie "\\*(.T"300" .ft L
94
.el .ie "\\*(.T"202" .ft PO
95
.el .ie "\\*(.T"aps" .ft CW
98
.ie \\n(VS>40 .vs \\n(VSu
106
.ie t \\$1\fB\^\\$2\^\fR\\$3
107
.el \\$1\fI\^\\$2\^\fP\\$3
110
.ie t \fB\^\\$1\^\fR\\$2
111
.el \fI\^\\$1\^\fP\\$2
114
.ie t <\fB\\$1\fR>\\$2
120
.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
121
.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
135
. \" Note End -- doug kraft 3/85
144
.TH XmbResetIC 3X11 __xorgversion__ "XLIB FUNCTIONS"
146
XmbResetIC, XwcResetIC, Xutf8ResetIC \- reset the state of an input context
148
char * XmbResetIC\^(\^\fIic\fP\^)
152
wchar_t * XwcResetIC\^(\^\fIic\fP\^)
156
char * Xutf8ResetIC\^(\^\fIic\fP\^)
161
Specifies the input context.
166
.ZN XIMInitialState ,
171
reset an input context to its initial state;
175
.ZN XIMPreserveState ,
176
the current input context state is preserved.
177
In both cases, any input pending on that context is deleted.
178
The input method is required to clear the preedit area, if any,
179
and update the status accordingly.
185
does not change the focus.
189
is its current preedit string as a multibyte string.
192
is its current preedit string as a wide character string.
195
is its current preedit string as an UTF-8 string.
196
If there is any preedit text drawn or visible to the user,
197
then these procedures must return a non-NULL string.
198
If there is no visible preedit text,
199
then it is input method implementation-dependent
200
whether these procedures return a non-NULL string or NULL.
202
The client should free the returned string by calling
207
is an XFree86 extension introduced in XFree86 4.0.2. Its presence is
208
indicated by the macro
209
.ZN X_HAVE_UTF8_STRING .