manpagez: man pages & more
man XCreateIC(3)
Home | html | info | man
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  val-
                 ues.


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 con-
       text 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:

       o    A required argument was not set.

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

       o    The argument name is not recognized.

       o    The input method encountered an input method implementation-depen-
            dent 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 spec-
       ified 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  Col-
                 ormap.

       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(3), XSetICFocus(3), XSetICValues(3), XmbResetIC(3)
       Xlib - C Language X Interface



X Version 11                     libX11 1.6.9                     XCreateIC(3)

xorg-libX11 1.6.9 - Generated Sun Oct 20 13:29:54 CDT 2019
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.