Function freya::launch::launch_with_props  
source · pub fn launch_with_props(
    app: Component<()>,
    title: &'static str,
    (width, height): (f64, f64)
)Expand description
Launch a new Window with a custom title, width and height and the default config.
- Decorations enabled
- Transparency disabled
- Window background: white
Example
launch_with_props(app, "Whoah!", (400, 600));
fn app(cx: Scope) -> Element {
   render!(
        rect {
            width: "100%",
            height: "100%",
            label {
                "Hello World!"
            }
        }
    )
}