X Version 11 (Release 5)
XmbResetIC(XS)
XmbResetIC --
reset the state of an input context
Syntax
char * XmbResetIC(ic)
XIC ic;
wchar_t * XwcResetIC(ic)
XIC ic;
Arguments
ic-
Specifies the input context.
Description
The XmbResetIC and XwcResetIC
functions reset input context to initial state.
Any input pending on that context is deleted.
Input method is required to clear preedit area, if any,
and update status accordingly. Calling XmbResetIC
or XwcResetIC does not change the focus.
The return value of XmbResetIC
is its current preedit string as a multibyte string.
The return value of XwcResetIC
is its current preedit string as a wide character string.
It is input method implementation dependent whether
these routines return a non-NULL string or NULL.
The client should free the returned string by calling
XFree.
See also
XCreateIC(XS),
XOpenIM(XS),
XSetICFocus(XS),
XSetICValues(XS)
Xlib - C Language X Interface
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003