XSetICValues(), XGetICValues() - set and obtain XIC values
char * XSetICValues (XIC ic, ...)
char * XGetICValues (XIC ic, ...)
The XSetICValues(3) function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be set. An argument could be not set for any of the following reasons:
Each value to be set must be an appropriate datum, matching the data type imposed by the semantics of the argument.
The XSetICValues(3) can generate BadAtom, BadColor, BadCursor, BadPixmap, and BadWindow errors.
The XGetICValues(3) function returns NULL if no error occurred; otherwise, it returns the name of the first argument that could not be obtained. An argument could be not obtained for any of the following reasons:
Each argument value (following a name) must point to a location where the value is to be stored. XGetICValues(3) allocates memory to store the values, and client is responsible for freeing each value by calling XFree(3).
XOpenIM()
Xlib