1XCreateIC(3)                    XLIB FUNCTIONS                    XCreateIC(3)
2
3
4

NAME

6       XCreateIC, XDestroyIC, XIMOfIC - create, destroy, and obtain the input
7       method of an input context
8

SYNTAX

10       XIC XCreateIC(XIM im, ...);
11
12       void XDestroyIC(XIC ic);
13
14       XIM XIMOfIC(XIC ic);
15

ARGUMENTS

17       ic        Specifies the input context.
18
19       im        Specifies the input method.
20
21       ...       Specifies the variable length argument list to set XIC val‐
22                 ues.
23

DESCRIPTION

25       The XCreateIC function creates a context within the specified input
26       method.
27
28       Some of the arguments are mandatory at creation time, and the input
29       context will not be created if those arguments are not provided.  The
30       mandatory arguments are the input style and the set of text callbacks
31       (if the input style selected requires callbacks).  All other input con‐
32       text values can be set later.
33
34       XCreateIC returns a NULL value if no input context could be created.  A
35       NULL value could be returned for any of the following reasons:
36
37       ·    A required argument was not set.
38
39       ·    A read-only argument was set (for example, XNFilterEvents).
40
41       ·    The argument name is not recognized.
42
43       ·    The input method encountered an input method implementation-depen‐
44            dent error.
45
46       The XCreateIC can generate BadAtom, BadColor, BadPixmap, and BadWindow
47       errors.
48
49       XDestroyIC destroys the specified input context.
50
51       The XIMOfIC function returns the input method associated with the spec‐
52       ified input context.
53

DIAGNOSTICS

55       BadAtom   A value for an Atom argument does not name a defined Atom.
56
57       BadColor  A value for a Colormap argument does not name a defined Col‐
58                 ormap.
59
60       BadPixmap A value for a Pixmap argument does not name a defined Pixmap.
61
62       BadWindow A value for a Window argument does not name a defined Window.
63

SEE ALSO

65       XOpenIM(3), XSetICFocus(3), XSetICValues(3), XmbResetIC(3)
66       Xlib - C Language X Interface
67
68
69
70X Version 11                     libX11 1.6.7                     XCreateIC(3)
Impressum