pub fn quit_event_loop() -> Result<(), EventLoopError>
Expand description
Schedules the main event loop for termination. This function is meant
to be called from callbacks triggered by the UI. After calling the function,
it will return immediately and once control is passed back to the event loop,
the initial call to slint::run_event_loop()
will return.
This function can be called from any thread