rio_window::platform::startup_notify

Trait WindowAttributesExtStartupNotify

Source
pub trait WindowAttributesExtStartupNotify {
    // Required method
    fn with_activation_token(self, token: ActivationToken) -> Self;
}

Required Methods§

Source

fn with_activation_token(self, token: ActivationToken) -> Self

Use this ActivationToken during window creation.

Not using such a token upon a window could make your window not gaining focus until the user clicks on the window.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§