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.



XCreateIC(3)                                   XLIB FUNCTIONS                                   XCreateIC(3)



NAME
       XCreateIC, XDestroyIC, XIMOfIC - create, destroy, and obtain the input method of an input context

SYNTAX
       XIC XCreateIC(XIM im, ...);

       void XDestroyIC(XIC ic);

       XIM XIMOfIC(XIC ic);

ARGUMENTS
       ic        Specifies the input context.

       im        Specifies the input method.

       ...       Specifies the variable length argument list to set XIC values.

DESCRIPTION
       The XCreateIC function creates a context within the specified input method.

       Some of the arguments are mandatory at creation time, and the input context will not be created if
       those arguments are not provided.  The mandatory arguments are the input style and the set of text
       callbacks (if the input style selected requires callbacks).  All other input context values can be
       set later.

       XCreateIC returns a NULL value if no input context could be created.  A NULL value could be returned
       for any of the following reasons:

           A required argument was not set.

           A read-only argument was set (for example, XNFilterEvents).

           The argument name is not recognized.

           The input method encountered an input method implementation-dependent error.

       The XCreateIC can generate BadAtom, BadColor, BadPixmap, and BadWindow errors.

       XDestroyIC destroys the specified input context.

       The XIMOfIC function returns the input method associated with the specified input context.

DIAGNOSTICS
       BadAtom   A value for an Atom argument does not name a defined Atom.

       BadColor  A value for a Colormap argument does not name a defined Colormap.

       BadPixmap A value for a Pixmap argument does not name a defined Pixmap.

       BadWindow A value for a Window argument does not name a defined Window.

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



X Version 11                                    libX11 1.2.1                                    XCreateIC(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...