Following are the XIM event handling functions:
Function Name |
Description |
---|---|
XmbLookupString() |
Converts keypress events into characters. |
XwcLookupString() |
Converts keypress events into wide characters. |
XmbResetIC() |
Resets an input context to its initial state. Any input pending on that context is deleted. Returns the current preedit value as a char* string. Depending on the implementation of the input method, the return value may be NULL. |
XwcResetIC() |
Resets an input context to its initial state. Any input pending on that context is deleted. Returns the current preedit value as a wchar_t* string. |
XFilterEvent() |
Allows the input method to process any incoming events to the clients before the application processes them. |
XSetICFocus() |
Notifies the input method that the focus window attached to the specified input context has received keyboard focus. |
XUnsetICFocus() |
Notifies the input method that the specified input context has lost the keyboard focus and that no more input is expected on the focus window attached to that context. |