Closed Redhawk18 closed 6 months ago
polling
supports Windows. It's mostly the notification mechanism that needs to be ported.
so Windows support is planned?
I personally know nothing about Windows support. In particular wrt to ui library, I don't even know if it is actually possible to plug UI events from the Windows API into an event loop like calloop
, I was under the impression that X1//Wayland were more the exception than the rule.
However, if someone who actually knows about this stuff is willing to contribute the necessary logic to make it worth, that would absolutely be welcome.
I personally know nothing about Windows support. In particular wrt to ui library, I don't even know if it is actually possible to plug UI events from the Windows API into an event loop like
calloop
, I was under the impression that X1//Wayland were more the exception than the rule.However, if someone who actually knows about this stuff is willing to contribute the necessary logic to make it worth, that would absolutely be welcome.
doesn't winit have a event loop that works on all platforms?
A notification can be created by using PollerIocpExt::post
. If someone has a motivating use case I can write this.
A notification can be created by using
PollerIocpExt::post
. If someone has a motivating use case I can write this.
It would make my ui work on windows then. I would feel stupid if my tui library had to use winit because of the event loop.
doesn't winit have a event loop that works on all platforms?
Not exactly, winit has a completely different event loop machinery on each platform it supports, tightly integrated in the specifics of that platform's GUI api. Something like that would be wildly out of scope for calloop.
This is likely a giant undertaking, but this crate looks amazing. But I can't lock my ui library into not working on Windows. I use Linux daily but you still have to use libraries that work on every platform.