Skip to main content

deactivate

Function deactivate 

Source
pub fn deactivate(timeout: f64) -> bool
Expand description

Give up frontmost status and wait until the window server agrees.

Being active is not cosmetic: an alert draws its default button accented while its application is frontmost and plain when it is not. So anything that compares renders has to pin the state rather than inherit whatever activate last left behind.