Skip to main content

Module window_manager

Module window_manager 

Source
Expand description

Window manager — owns all windows, routes events, holds the renderer.

Chrome: BrowserMainThread manages RenderWidgetHostImpl instances. The OS adapter (kozan-winit) calls methods here — it never touches threads, channels, or input state directly.

Generic over R: Renderer — the renderer backend is injected at app startup. Neither the OS adapter nor the renderer know about each other; both only know about the traits defined in kozan-platform.

Structs§

WindowCreateConfig
Configuration for creating a window through the manager.
WindowManager
Owns all windows. The OS adapter calls methods on this.

Enums§

CreateWindowError
Error when window creation fails.