Skip to main content

Module window

Module window 

Source
Expand description

The main window brought to the front, as the platform services do when a second launch, a tray click or a notification asks for the application. In an application it is the bus’s pop.window.activate of the main window (raise_app): the registry holds it as the active window and its pop.window.raise listener brings it forward.

Experimental: may change in any release (docs/stability.md).

Constants§

OWNER
Who asks the main window to the front: the platform services.

Functions§

raise
The same for a program without an egui-pop application (the platform readers used standalone): the main window shown, restored and asked for the focus, attention asked on Wayland. An application uses raise_app, so the bus knows the active window.
raise_app
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.
wayland
Whether the session is a Wayland one.