Skip to main content

activate

Function activate 

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

Bring the application forward and wait until the window server agrees.

Mouse events are only routed to a view’s gestures while the application is active, so anything posting synthetic input has to establish that first — and activation is asynchronous, so asking is not enough.