Skip to main content

Module launch

Module launch 

Source
Expand description

Window launching, headless execution, and Linux GTK platform lifecycle hooks.

Functions§

invoke_user_event_hook
Invokes the application’s platform event hook and returns its redraw/rebuild decision. This is the single dispatch seam used by the native window event pumps, so tray, single-instance, and window events all flow through the same user callback.
launch
Standard public entry point launching an interactive Strata desktop window. Automatically detects operating system display server, opens native window, and runs the event pump until the window is closed.
launch_auto
Auto-detects the host platform display server and launches an interactive desktop window.
launch_gtk
Launches an interactive native GTK3/Cairo desktop window on Linux with high-fidelity system typography.
launch_gtk_with_events
Launches an interactive native GTK3/Cairo desktop window on Linux with a custom event hook.
launch_gtk_with_frame
Launches an interactive native GTK3/Cairo desktop window on Linux with a custom event hook and a periodic on_frame callback.
launch_headless
Headless runner returning the initialized AppRuntime for testing and layout inspection.
launch_headless_pump
Runs a deterministic headless event pump for testing, CI automation, and non-display environments.
launch_window
Launches a live interactive Strata window with surface presentation and frame pacing.
launch_with_config
Standard public entry point launching with custom window configuration.
launch_with_events
Launches a Strata window with custom window configuration and low-level platform event hook.
launch_with_frame
Launches a Strata application with an event hook and a periodic on_frame callback.