开发者

Getting actual keycode for ibus settings

I am able to read the ibus keys configuration to know the keys that trigger an engine ON/OFF (accessible via the property "general/hotkey" and "trigger"). that is all good but that returns lists of strings (gchar*) which开发者_高级运维 combination switches ON/OFF the IME (ex: ["SHIFT+CTRL+F9", "SHIFT+UNDERSCORE",...]).

How can I get the corresponding keycodes of those strings?


OK I found it... http://ibus.googlecode.com/svn-history/r177/docs/ibus/ibus-ibusshare.html#ibus-init

ibus_key_event_from_string () was the method I was looking for

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜