mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 20:25:06 +00:00
A workspace implements FullWindowWorkspace (its source, events and OK answer) and opens on the app's DialogHost as a HostedWorkspace. The hosted value owns the source as an Arc, binds the open state to its own field, queues each pass's events until the app takes them, and finishes with OK's answer or Cancel. Trials: a hosted workspace fills the window, reports its events, answers OK, cancels on Escape and reopens; the view commands zoom its view. Story: hosted_workspace on FullWindowDialog.