Skip to content
Version 2.11.0
↓ Get the launcher

IWindowHost.Register method (1 of 2)

Register a window. Built when its canvas is available; returns a handle to manage it.

public IWindowControl Register(WindowRegistration registration)

Registers a window AND declares a hotkey that toggles its visibility — convenience over the separate Register + DeclareAction pattern (dup-map Pattern A). The returned IWindowControl manages the window; the hotkey is owned by hotkeys and lives for the duration of that service.

public IWindowControl Register(WindowRegistration registration, HotkeyAction toggleAction,
IHotkeys hotkeys)