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)See Also
Section titled “See Also”- interface IWindowControl
- record WindowRegistration
- interface IWindowHost
- namespace Stellar.Abstractions.Services
IWindowHost.Register method (2 of 2)
Section titled “IWindowHost.Register method (2 of 2)”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)See Also
Section titled “See Also”- interface IWindowControl
- record WindowRegistration
- record HotkeyAction
- interface IHotkeys
- interface IWindowHost
- namespace Stellar.Abstractions.Services