Enum winit::window::UserAttentionType [−][src]
pub enum UserAttentionType {
Critical,
Informational,
}
Expand description
Platform-specific
- X11: Sets the WM’s
XUrgencyHint
. No distinction betweenCritical
andInformational
.
Variants
Critical
Platform-specific
- macOS: Bounces the dock icon until the application is in focus.
- Windows: Flashes both the window and the taskbar button until the application is in focus.
Informational
Platform-specific
- macOS: Bounces the dock icon once.
- Windows: Flashes the taskbar button until the application is in focus.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UserAttentionType
impl Send for UserAttentionType
impl Sync for UserAttentionType
impl Unpin for UserAttentionType
impl UnwindSafe for UserAttentionType
Blanket Implementations
Mutably borrows from an owned value. Read more