Skip to content

slint::quit_event_loop

void slint::quit_event_loop()

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.


© 2026 SixtyFPS GmbH