Skip to main content

set_main_window

Function set_main_window 

Source
pub fn set_main_window(id: WindowId, window: Arc<dyn ParentWindow>)
Expand description

The main window, when created cannot give it (a host making its own creation context, a test): its winit id and its handles.