MirBSD manpage: XmbResetIC(3), Xutf8ResetIC(3), XwcResetIC(3)

XmbResetIC(3X11)         XLIB FUNCTIONS          XmbResetIC(3X11)


     XmbResetIC, XwcResetIC, Xutf8ResetIC - reset the state of an
     input context


     char *XmbResetIC(XIC ic);

     wchar_t *XwcResetIC(XIC ic);

     char *Xutf8ResetIC(XIC ic);


     ic        Specifies the input context.


     When XNResetState is set to XIMInitialState, XmbResetIC,
     XwcResetIC and Xutf8ResetIC reset an input context to its
     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,
     XwcResetIC or Xutf8ResetIC 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. The
     return value of Xutf8ResetIC is its current preedit string
     as an UTF-8 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-dependent whether these
     procedures return a non-NULL string or NULL.

     The client should free the returned string by calling XFree.

     The function Xutf8ResetIC is an XFree86 extension introduced
     in XFree86 4.0.2. Its presence is indicated by the macro


     XCreateIC(3X11), XOpenIM(3X11), XSetICFocus(3X11),
     Xlib - C Language X Interface

XFree86                   Version 4.5.0                         1

Generated on 2021-12-07 11:07:08 by $MirOS: src/scripts/roff2htm,v 1.103 2021/01/23 20:24:35 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2021 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.