Manual Page Result
0
Command: XwcResetIC | Section: 3 | Source: Digital UNIX | File: XwcResetIC.3X11.gz
XmbResetIC(3X11) XmbResetIC(3X11)
NAME
XmbResetIC, XwcResetIC - reset the state of an input context
SYNOPSIS
char * XmbResetIC(ic)
XIC ic;
wchar_t * XwcResetIC(ic)
XIC ic;
ARGUMENTS
Specifies the input context.
DESCRIPTION
The XmbResetIC and XwcResetIC functions reset an input context to its
initial state. 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.
The return value of XmbResetIC is its current preedit string as a
multibyte string. 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 depen-
dent whether these procedures return a non-NULL string or NULL.
The client should free the returned string by calling XFree.
SEE ALSO
XCreateIC(3X11), XOpenIM(3X11), XSetICFocus(3X11), XSetICValues(3X11)
Xlib -- C Language X Interface
XmbResetIC(3X11)