Function cosmic::iced_winit::runtime::window::request_user_attention
source ยท pub fn request_user_attention<T>(
id: Id,
user_attention: Option<UserAttention>,
) -> Task<T>
Expand description
Request user attention to the window. This has no effect if the application
is already focused. How requesting for user attention manifests is platform dependent,
see UserAttention
for details.
Providing None
will unset the request for user attention. Unsetting the request for
user attention might not be done automatically by the WM when the window receives input.