X Version 11 (Release 6.1)
XmbResetIC(X3xlib)
XmbResetIC --
reset the state of an input context
Synopsis
char * XmbResetIC(ic)
XIC ic;
wchar_t * XwcResetIC(ic)
XIC ic;
Arguments
ic-
Specifies the input context.
Description
When XNResetState is set to XIMInitialState,
XmbResetIC and XwcResetIC
reset input context to initial state;
when XNResetState is set to XIMPreserveState,
the current input context state is preserved.
In both cases, any input pending on that context is deleted.
The input method is required to clear the preedit area, if any,
and update the status accordingly.
Calling XmbResetIC
or XwcResetIC does not change the focus.
If there is any preedit text drawn or visible to the user,
then these procedures must return a non-NULL string.
If there is no visible preedit text,
then it is input method implementation-dependent
whether these procedures return a non-NULL string or NULL.
The client should free the returned string by calling
XFree.
References
XCreateIC(X3xlib),
XOpenIM(X3xlib),
XSetICFocus(X3xlib),
XSetICValues(X3xlib)
Xlib - C Language X Interface
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004