开发者

Getting actual keycode for ibus settings

开发者 https://www.devze.com 2023-01-22 03:51 出处:网络
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 o

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

精彩评论

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