---
title: "slint::EventLoopMode Enum"
---
```cpp
enum class EventLoopMode
```

| Value | Description |
| --- | --- |
| `QuitOnLastWindowClosed` |  |
| `RunUntilQuit` |  |

Enum for the event loop mode parameter of the [slint::run\_event\_loop()](../run_event_loop/) function. It is used to determine when the event loop quits.