This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



XmbResetIC(3)                                  XLIB FUNCTIONS                                  XmbResetIC(3)



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

SYNTAX
       char *XmbResetIC(XIC ic);

       wchar_t *XwcResetIC(XIC ic);

       char *Xutf8ResetIC(XIC ic);

ARGUMENTS
       ic        Specifies the input context.

DESCRIPTION
       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 XmbRe-setIC, XmbResetIC,
       setIC, 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 nonNULL
       NULL string or NULL.

       The client should free the returned string by calling XFree.

       The function Xutf8ResetIC is an extension introduced by The XFree86 Project, Inc. in their 4.0.2
       release. Its presence is indicated by the macro X_HAVE_UTF8_STRING.

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



X Version 11                                    libX11 1.2.1                                   XmbResetIC(3)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...