You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried moving systray logic to a separate goroutine with systray.Register, but it lacks an explicit event polling mechanism.
Exploring External Libraries:
I came across golang-design/mainthread as a potential solution for coordinating main-thread tasks, but I have not continued with this yet.
Request
Could systray provide:
1. A way to manually poll systray events (similar to glfw.PollEvents)?
4. Better support for sharing the main thread with libraries like GLFW?
Any guidance on integrating systray with frameworks requiring main-thread access would be appreciated.
The text was updated successfully, but these errors were encountered:
I’m trying to use systray alongside GLFW in an OpenGL-based application. Both frameworks require the main thread:
On macOS, this becomes more problematic because all UI must run on the main thread.
I’ve explored systray.Register as an alternative, but the lack of an explicit event polling mechanism makes integration with GLFW challenging.
Below is a simplified version of my code.
Attempted Solutions
Request
Could systray provide:
1. A way to manually poll systray events (similar to glfw.PollEvents)?
4. Better support for sharing the main thread with libraries like GLFW?
Any guidance on integrating systray with frameworks requiring main-thread access would be appreciated.
The text was updated successfully, but these errors were encountered: