egui/examples/user_attention
Emil Ernerfeldt ce761e548f
use env_logger in all examples (#2934)
2023-04-19 16:35:38 +02:00
..
src use env_logger in all examples (#2934) 2023-04-19 16:35:38 +02:00
Cargo.toml use env_logger in all examples (#2934) 2023-04-19 16:35:38 +02:00
README.mg Allow for requesting the user's attention to the window (#2905) 2023-04-19 15:29:17 +02:00
screenshot.png Allow for requesting the user's attention to the window (#2905) 2023-04-19 15:29:17 +02:00

README.mg

An example of requesting a user's attention to the main window, and resetting the ongoing attention animations when necessary. Only works on native platforms.

```sh
cargo run -p user_attention
```

![](screenshot.png)