class

Webview::WindowManager

Inherits Reference / Object

Multi-window manager for handling multiple webview instances

Class methods

with_manager

RAII-style resource management for multiple windows

Source

Instance methods

count

Get window count

Source
create_window(width : Int32, height : Int32, hint : SizeHints, title : String, url : String, debug = false)

Create a new window with URL

Source
create_window(width : Int32, height : Int32, hint : SizeHints, title : String, debug = false)

Create a new window and add it to the manager

Source
destroy_all

Destroy all windows and clean up

Source
run_all

Run all windows in separate fibers Note: This spawns fibers but returns immediately. The caller needs to keep the main thread alive (e.g., with sleep or another blocking call)

Source
run_sequential

Run all windows sequentially (one at a time)

Source
terminate_all

Terminate all windows

Source
windows

Get all managed windows

Source