Function stop_thread_dispatch
Source pub fn stop_thread_dispatch()
Expand description
Break the events loop running on the current thread
121 fn exit(&self) {
122 nwg::stop_thread_dispatch();
123 }
More examples
Hide additional examples
22 fn exit(&self) {
23 nwg::stop_thread_dispatch();
24 }
examples/flexbox_sub_layout.rs (
line 24)
23 fn exit(&self) {
24 nwg::stop_thread_dispatch();
25 }
63 fn exit(&self) {
64 nwg::stop_thread_dispatch();
65 }
37 fn exit(&self) {
38 nwg::stop_thread_dispatch();
39 }
23 fn say_goodbye(&self) {
24 nwg::modal_info_message(&self.window, "Goodbye", &format!("Goodbye {}", self.name_edit.text()));
25 nwg::stop_thread_dispatch();
26 }
Additional examples can be found in: