GTK+ apps and immodule integration



Hi,

There are advanced cooperation features between application and input method
on Microsoft Windows and there is a discussion to implement it with OpenOffice.org
and openi18n-im team. Just only a discussion, but not actual code though.
And I don't think there was any discussion like this here yet.

http://www.openoffice.org/issues/show_bug.cgi?id=21885 (English)

This URL points 2 features on MSDN site.

1. Apps can get open/closed status of input method.
   Just apps can know input method is on or off as a boolean return value.
   
2. Conversion mode values.
   Apps can get and set conversion mode property of input method.
   Each property is boolean, and changing it to gobject property name might
   take effect on GTK+.

   GTKIM_CMODE_CHARCODE, GTKIM_CMODE_KATAKANA, etc.
   MS' ImmGetConversionStatus and ImmSetConversionStatus handle this as each bit of
   a DWORD value.

Both are not so difficult to implement for GTK+. and most works might happen not in GTK+
itself, but immodules and applications. MS Excel has features which users can specify
input method default on/off status for each cell, and all MS office can start with
inpuet method is already on. So, for implementing such features on GTK+/GNOME apps,
above properties will be neccessary.

--
Nakai



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]