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.



XSetICValues(3)                                XLIB FUNCTIONS                                XSetICValues(3)



NAME
       XSetICValues, XGetICValues - set and obtain XIC values

SYNTAX
       char * XSetICValues(XIC ic, ...);

       char * XGetICValues(XIC ic, ...);

ARGUMENTS
       ic        Specifies the input context.

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

DESCRIPTION
       The XSetICValues function returns NULL if no error occurred; otherwise, it returns the name of the
       first argument that could not be set.  An argument might not be set for any of the following reasons:

           The argument is read-only (for example, XNFilterEvents).

           The argument name is not recognized.

           An implementation-dependent error occurs.

       Each value to be set must be an appropriate datum, matching the data type imposed by the semantics of
       the argument.

       The XSetICValues can generate BadAtom, BadColor, BadCursor, BadPixmap, and BadWindow errors.

       The XGetICValues function returns NULL if no error occurred; otherwise, it returns the name of the
       first argument that could not be obtained.  An argument could not be obtained for any of the follow-ing following
       ing reasons:

           The argument name is not recognized.

           The input method encountered an implementation-dependent error.

       Each IC attribute value argument (following a name) must point to a location where the IC value is to
       be stored.  That is, if the IC value is of type T, the argument must be of type T*.  If T itself is a
       pointer type, then XGetICValues allocates memory to store the actual data, and the client is respon-sible responsible
       sible for freeing this data by calling XFree with the returned pointer.  The exception to this rule
       is for an IC value of type XNVaNestedList (for preedit and status attributes).  In this case,  the
       argument must also be of type XVaNestedList.  Then, the rule of changing type T to T* and freeing the
       allocated data applies to each element of the nested list.

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.

       BadCursor A value for a Cursor argument does not name a defined Cursor.

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



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