GTK Input method and Windows IME

View: New views
2 Messages — Rating Filter:   Alert me  

GTK Input method and Windows IME

by Fredrik Corneliusson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I have a PyGTK application for Win32 that needs support for Windows
IME as keyboard input method.
For example you need to select Windows IME when using "Indic IME 1
(v5.0)" to display the word being typed before it is committed.

This works now but only if Windows IME is selected (using the right
click menu in the GTK application) _before_ any Hindi text is entered.
If the input method is set to Windows IME after entering Hindi text
the preview of the word being typed is buggy (preview shows up as
duplicate bold text). It's also inconvenient and error prone if users
have to both set input method in MS Windows and every GTK application
instance.

So my question is if I can programatically set the input method from
PyGtk? If not can default input method be changed in RC files?

Also if I set Windows IME as the default input method is there any
downside to it? To me it seems to continue to work for languages that
do not use special Windows IME methods.

Reference: Indic IME 1 (v5.0) download site:
http://www.bhashaindia.com/DownloadsV2/Category.aspx?ID=1

Regards,
Fredrik
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: GTK Input method and Windows IME

by Fredrik Corneliusson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Replying to myself.
I did some testing and it seems I'm able to map the input method to
locales in the "gtk.immodules" file.

However I would prefer to be able set the input method without having
to rely on the locale as users can use "en" locale but Hindi input
method.

Regards,
Fredrik

On Mon, May 26, 2008 at 1:38 PM, Fredrik Corneliusson
<fredrik.corneliusson@...> wrote:

> Hi,
> I have a PyGTK application for Win32 that needs support for Windows
> IME as keyboard input method.
> For example you need to select Windows IME when using "Indic IME 1
> (v5.0)" to display the word being typed before it is committed.
>
> This works now but only if Windows IME is selected (using the right
> click menu in the GTK application) _before_ any Hindi text is entered.
> If the input method is set to Windows IME after entering Hindi text
> the preview of the word being typed is buggy (preview shows up as
> duplicate bold text). It's also inconvenient and error prone if users
> have to both set input method in MS Windows and every GTK application
> instance.
>
> So my question is if I can programatically set the input method from
> PyGtk? If not can default input method be changed in RC files?
>
> Also if I set Windows IME as the default input method is there any
> downside to it? To me it seems to continue to work for languages that
> do not use special Windows IME methods.
>
> Reference: Indic IME 1 (v5.0) download site:
> http://www.bhashaindia.com/DownloadsV2/Category.aspx?ID=1
>
> Regards,
> Fredrik
>
_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@...
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
LightInTheBox - Buy quality products at wholesale price