Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎么在输入法engine中获取当前的光标位置信息? #42

Open
hantengc opened this issue Sep 22, 2024 · 4 comments
Open

怎么在输入法engine中获取当前的光标位置信息? #42

hantengc opened this issue Sep 22, 2024 · 4 comments

Comments

@hantengc
Copy link

我想要在我的引擎中显示我自己的输入法候选词窗口位置,这个时候我就需要获取一下光标位置信息。
请问scim中有获取当前输入光标基于屏幕的位置信息API吗?

@hantengc
Copy link
Author

@tzhuan

@tzhuan
Copy link
Member

tzhuan commented Sep 29, 2024

No. The scim doesn't export this info to the input method modules currently.

@hantengc
Copy link
Author

hantengc commented Jan 3, 2025

@tzhuan 我怎么样才可以与您取得联系?我的邮箱是[email protected]
最近打算向scim提一些pr和咨询一些问题 是否可以与您有较好的沟通方式

@hantengc hantengc reopened this Jan 3, 2025
@tzhuan
Copy link
Member

tzhuan commented Jan 8, 2025

As far as I know scim doesn't provide the API for querying the cursor locations. The concept of "cursor location" varies for different toolkits (X, wayland, gtk+, Qt, etc.) and it may not relevant for some toolkit.

Please just open the PR so we can discuss on that PR. Anyone else with interesting may also join the discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants