代码的方式调用fcitx5 #758
Unanswered
maxdianwei
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
我在Linux平台中打开了一个wps应用,如果我现在想写一个执行档,直接调用fcitx5的接口,把中文输入到wps中。
是否有这样的代码范例参考呢?
我目前是找到InputContext中的commitString接口,这个能达到我的目的吗?
如果可以的话,我还没看到要怎么获取到一个InputContext对象,通过InputContextManager的lastFocusedInputContext和mostRecentInputContext都获取不到。
Beta Was this translation helpful? Give feedback.
All reactions