Skip to navigation
Rust dialog cannot be reopened after it was closed with the default box 'x' button
27.05.21
you may get this error: _gtk_container_set_border_width_set: assertion 'GTK_IS_CONTAINER (container)' failed If you want creating new dialog IMHO you should create it from new builder. may have a own glade file or use it again. example: "preferences" => Box::new(clone!(@strong _builder => move |_| { let builder = Builder::from_resource("/org/calantas/autotext/main_window.glade"); let p: Dialog = builder.get_object("pref1").expect("...cannot open preferences"); p.show_all(); None } )),
https://users.rust-lang.org/t/problems-with-gtk-rs/10310/8
Reply
Anonymous
Information Epoch 1766845762
Silence is golden.
Home
Notebook
Contact us