-
This used to be possible quite awhile ago, but
The end result is that you can no longer list monitors with a plain Is it still something that could be added back to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You still can list monitors before creating window if you create window inside the event loop as suggested(you don't need to switch to the trait for that), you don't need application handler for that as well. Listing monitors generally involves communication an sync thus it should have the loop running, this might not be the case on some platforms, but for cross platform API it was a bit unreliable. |
Beta Was this translation helpful? Give feedback.
yeah, you can use pump_events to poll the monitors and collect to e.g. Vector during
NewEvents
, and then do whatever you want.