Crate winit_fullscreen
source ·Expand description
This crate uses an extension trait to add a method winit::window::Window
to allow for easy fullscreen toggling.
window.toggle_fullscreen()
Check the example for a minimal winit app that can toggle to fullscreen on pressing ENTER.
Future work
I plan to add an enum to allow a hint for exclusive or borderless.
Traits
- Extension trait for Window to add the
toggle_fullscreen
method.