minput_filter(3m17n) | The m17n Library | minput_filter(3m17n) |
minput_filter - Filter an input key.
int minput_filter (MInputContext * ic, MSymbol key, void * arg)
Filter an input key. The minput_filter() function filters input key key according to input context ic, and calls callback functions corresponding to Minput_preedit_draw, Minput_status_draw, and Minput_candidates_draw if the preedit text, the status, and the current candidate are changed respectively.
To make the input method commit the current preedit text (if any) and shift to the initial state, call this function with Mnil as key.
To inform the input method about the focus-out event, call this function with Minput_focus_out as key.
To inform the input method about the focus-in event, call this function with Minput_focus_in as key.
To inform the input method about the focus-move event (i.e. input spot change within the same input context), call this function with Minput_focus_move as key.
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and
Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under
the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
12 Jan 2011 | Version 1.6.2 |