pub fn launch(app: fn() -> Element)Expand description
Launch a new window with the default config.
- Width: 600.0
- Height: 600.0
- Decorations enabled
- Transparency disabled
- Window title: Freya
- Window background: white
§Example
fn main() {
    launch(app);
}
fn app() -> Element {
   rsx!(
        rect {
            width: "100%",
            height: "100%",
            label {
                "Hello World!"
            }
        }
    )
}