Create conversion function for user_attention in iced_winit

This commit is contained in:
Héctor Ramón Jiménez 2023-01-02 20:17:24 +01:00
parent d95b9bf244
commit 6855961358
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 21 additions and 11 deletions

View file

@ -2,7 +2,7 @@
use crate::command::{self, Command};
use iced_native::window;
pub use window::{Event, Mode};
pub use window::{Event, Mode, UserAttention};
/// Closes the current window and exits the application.
pub fn close<Message>() -> Command<Message> {