XLIB FUNCTIONS XCreateIC(3x11)
NAME
XCreateIC, XDestroyIC, XIMOfIC - create, destroy, and obtain
the input method of an input context SYNTAXcc [ flag... ] file... -lX11 [ library... ]
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 speci-
fied 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 becreated. A NULL value could be returned for any of the fol-
lowing reasons: +o A required argument was not set.+o A read-only argument was set (for example, XNFil-
terEvents). +o The argument name is not recognized. +o The input method encountered an input methodimplementation-dependent error.
The XCreateIC can generate BadAtom, BadColor, BadPixmap, and BadWindow errors. XDestroyIC destroys the specified input context. X Version 11 Last change: libX11 1.3.5 1 XLIB FUNCTIONS XCreateIC(3x11)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
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libx11 ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libX11 1.3.5 2