Enum EventLoopMode¶
Defined in File slint.h
Enum Documentation¶
-
enum class slint::EventLoopMode¶
Enum for the event loop mode parameter of the slint::run_event_loop() function. It is used to determine when the event loop quits.
Values:
-
enumerator QuitOnLastWindowClosed¶
The event loop will quit when the last window is closed or when slint::quit_event_loop() is called.
-
enumerator RunUntilQuit¶
The event loop will keep running until slint::quit_event_loop() is called, even when all windows are closed.
-
enumerator QuitOnLastWindowClosed¶