Common Desktop Environment: Internationalization Programmer's Guide

XIM Management

Following are the XIM management functions.

Function Name 

Description 

XOpenIM()

Establishes a connection to an input method. 

XCloseIM()

Removes a connection to an input method previously established with a call to XOpenIM(). 

XGetIMValues()

Queries the input method for a list of properties. Currently, the only standard argument in Xlib is XNQueryInputStyle.

XDisplayOfIM()

Returns the display associated with an input method. 

XLocaleOfIM()

Returns a string identifying the locale of the input method. There are no standard strings; the value returned by this call is implementation-defined. 

XCreateIC()

Creates an input context. The input context contains both the data required (if any) by an input method and the information required to display that data. 

XDestroyIC()

Destroys an input context, freeing any associated memory. 

XIMOfIC()

Returns the input method currently associated with a given input context. 

XSetICValues()

Passes zero or more values to an input context to control input of character data, or control display of preedit or status information. A table of all valid input context value arguments can be found in the X11R5 specification. 

XGetICValues()

Queries an input context to get zero or more input context values. A table of all valid input context value arguments can be found in the X11R5 specification.