new_window

Function new_window 

Source
pub fn new_window<V: IntoView + 'static>(
    app_view: impl FnOnce(WindowId) -> V + 'static,
    config: Option<WindowConfig>,
)
Expand description

Create a new window. You’ll need to create Application first, otherwise it will panic.