extern crate web_view; use web_view::*; fn main() { web_view::builder() .title("Change title with input") .content(Content::Html(HTML)) .size(800, 100) .resizable(true) .debug(true) .user_data("") .invoke_handler(|webview, arg| webview.set_title(arg)) .run() .unwrap(); } const HTML: &str = r#"
"#;