slint

Function run_event_loop_until_quit

Source
pub fn run_event_loop_until_quit() -> Result<(), PlatformError>
Expand description

Similar to run_event_loop(), but this function enters the main event loop and continues to run even when the last window is closed, until quit_event_loop() is called.

This is useful for system tray applications where the application needs to stay alive even if no windows are visible.