Re: how to programmatically change input method

2 messages Options
Embed this post
Permalink
Ronald Stroethoff

Re: how to programmatically change input method

Reply Threaded More More options
Print post
Permalink
Scimmy wrote:

Hello everybody,

I'm stuck on a problem that looks rather easy to resolve though:

I have got some gtkmm textboxes to input information in different languages (european, zh-pinyin and chinese using pinyin input method). To avoid having to switch the input method using the mouse or hotkeys (both work) every time the user clicks into a textbox to input new text, I'd like to set the input method automatically (maybe by setting an input method property or something).

More generally put, is there any documentation on the API, its interfaces and how to change scim settings programmatically? Or maybe is there just a way to change some information in a config file or some commands like im-switch to do these things?

Any hints are appreciated!

Dear scimmy,

maybe this webpage can help you, as far as I understand it sets the locale:

http://www.scim-im.org/wiki/documentation/installation_and_configuration/all/system_configuration

An another possibility is the use of shortcuts.
the combination of letters can be choosen in the config-menu of scim

Ronald

------------------------------------------------------------------------------
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel
king-2

Re: how to programmatically change input method

Reply Threaded More More options
Print post
Permalink
Hello:
    I think only a way to do this. You must change the property of multilineedit or singlelineedit class, add a member m_inputMethod. when the lineedit window get focus, you show inputMethod by this type.
    wish this help you.
 
------------------
king
 
 
 
------------------ Original ------------------
Date:  Sat, Jul 4, 2009 09:29 PM
To:  "Scim development"<[hidden email]>;
Subject:  Re: [Scim-devel] how to programmatically change input method
 
Scimmy wrote:

Hello everybody,

I'm stuck on a problem that looks rather easy to resolve though:

I have got some gtkmm textboxes to input information in different languages (european, zh-pinyin and chinese using pinyin input method). To avoid having to switch the input method using the mouse or hotkeys (both work) every time the user clicks into a textbox to input new text, I'd like to set the input method automatically (maybe by setting an input method property or something).

More generally put, is there any documentation on the API, its interfaces and how to change scim settings programmatically? Or maybe is there just a way to change some information in a config file or some commands like im-switch to do these things?

Any hints are appreciated!

Dear scimmy,

maybe this webpage can help you, as far as I understand it sets the locale:

http://www.scim-im.org/wiki/documentation/installation_and_configuration/all/system_configuration

An another possibility is the use of shortcuts.
the combination of letters can be choosen in the config-menu of scim

Ronald

------------------------------------------------------------------------------
_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel

------------------------------------------------------------------------------

_______________________________________________
Scim-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/scim-devel