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

Glfw backend? #68

Open
SuperGod opened this issue Jun 28, 2022 · 2 comments
Open

Glfw backend? #68

SuperGod opened this issue Jun 28, 2022 · 2 comments

Comments

@SuperGod
Copy link

It's a great project.
But I can't input any Chinese in linux/x11.

I tried both the gio and shiny backend,but neither of them supports linux/x11 input method,so there is no way to input Chinese.

Glfw implements these functions, and projects such as Fyne and giu are also in use, so is it possible to add a glfw implementation?

If you can't add a glfw implementation, can you tell me how to add a new implementation? I am familiar with the go language, but I am not familiar with this project, so it is a little difficult for me to implement this

@aarzilli
Copy link
Owner

The implementation of the backend is contained almost entirely in gio.go, for gio, and shiny.go for shiny. You would have to do something similar for glfw. AFAIK gio added support for input methods recently (or maybe is looking to add it).

I would first look into doing a small application using gio directly, to see if it is supported there already. If it is, then it could be just a matter of supporting a more recent version of gio which I plan to do eventually, when it's more stable.

Either way, development in this project is driven by my own personal needs. I do not fullfill feature requests unaccompained by a PR.

@SuperGod
Copy link
Author

OK, I will follow the latest updates of Gio

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

No branches or pull requests

2 participants