Detailed Description

Input method support on window systems.

The input driver minput_gui_driver is provided for internal input methods that is useful on window systems. It displays preedit text and status text at the inputting spot. See the documentation of minput_gui_driver for more details.

In the m17n-X library, the foreign input method of name Mxim is provided. It uses XIM (X Input Method) as a background input engine. The symbol Mxim has a property Minput_driver whose value is a pointer to the input driver minput_xim_driver. See the documentation of minput_xim_driver for more details.

Data Structure Documentation

MInputGUIArgIC

FIELD DOCUMENTATION:

MFrame* MInputGUIArgIC::frame

MDrawWindow MInputGUIArgIC::client

MDrawWindow MInputGUIArgIC::focus

MInputXIMArgIM

FIELD DOCUMENTATION:

Display* MInputXIMArgIM::display

XrmDatabase MInputXIMArgIM::db

char* MInputXIMArgIM::res_class

char* MInputXIMArgIM::res_name

char* MInputXIMArgIM::locale

char* MInputXIMArgIM::modifier_list

MInputXIMArgIC

FIELD DOCUMENTATION:

XIMStyle MInputXIMArgIC::input_style

Window MInputXIMArgIC::client_win

Window MInputXIMArgIC::focus_win

XVaNestedList MInputXIMArgIC::preedit_attrs

XVaNestedList MInputXIMArgIC::status_attrs

Variable Documentation

\fBMInputDriver\fP \fBminput_gui_driver\fP

Input driver for internal input methods on window systems. The input driver minput_gui_driver is for internal input methods to be used on window systems.

It creates sub-windows for a preedit text and a status text, and displays them at the input spot set by the function minput_set_spot().

The macro M17N_INIT() set the variable minput_driver to the pointer to this driver so that all internal input methods use it.

Therefore, unless minput_driver is changed from the default, the driver dependent arguments to the functions whose name begin with minput_ must are treated as follows.

The argument arg of the function minput_open_im() is ignored.

The argument arg of the function minput_create_ic() must be a pointer to the structure MInputGUIArgIC. See the documentation of MInputGUIArgIC for more details.

If the argument key of function minput_filter() is Mnil, the argument arg must be a pointer to the object of type XEvent. In that case, key is generated from arg.

The argument arg of the function minput_lookup() must be the same one as that of the function minput_filter().

\fBMSymbol\fP \fBMxim\fP

Symbol of the name 'xim'. The variable Mxim is a symbol of name 'xim'. It is a name of the input method driver minput_xim_driver.

Author

Generated automatically by Doxygen for The m17n Library from the source code.

COPYRIGHT

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>.