Skip to main content

raise_app

Function raise_app 

Source
pub fn raise_app(app: &AppHandle)
Expand description

Asks the application’s main window to the front: its pop.window.activate with the reason command, owned by OWNER. The window is shown, restored when minimized and asked for the focus. On Wayland a window cannot take the focus by itself (the compositor needs an activation token, which egui does not pass on): the window asks for attention instead, and the desktop says so.