获取 ibus 设置的实际键码
我能够读取 ibus 键配置以了解触发引擎开/关的键(可通过属性“常规/热键”和“触发器”访问)。这一切都很好,但返回字符串列表(gchar*),该组合可以打开/关闭IME(例如:[“SHIFT + CTRL + F9”,“SHIFT + UNDERSCORE”,...])。
如何获取这些字符串对应的键码?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧我找到了...
http://ibus.googlecode.com /svn-history/r177/docs/ibus/ibus-ibusshare.html#ibus-init
ibus_key_event_from_string () 是我正在寻找的方法
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