Expand description
The steps of CreateWindow, in the order the handler runs them. A step that can refuse the
call answers Err with the reply that ends it.
StructsΒ§
- Restore
Request π - What a windowβs restore request came to, and the lock that keeps the next opener behind it.
- Workspace
Choice π - The workspace the window shows, and what building it did.
FunctionsΒ§
- created_
reply π - The window row as the reply, once the snapshot a restore replayed is cleared.
- inherited_
events π - What this window takes from another: the appearance and name of the row it replaces (on a reload, or recreated after a crash), and the appearance of a window whose opener asked for it by host label. Returns the events to publish.
- register_
window π - Registers the window in the reducer for
ws_idand marks its row new. On a refusal the workspace made for it is deleted again. Returns the windowβs id and the events to publish. - resolve_
workspace π - The workspace for the window: the one asked for, a restored one, or a new one with the default panes.
- restore_
request π - Whether this call restores the last session, deciding it under the restore election.
- restored_
name_ πevents - A window a session restore rebuilt gets back its name, theme and opacity. Returns the events to publish.
- write_
label_ πcrumb - The host window label as a meta crumb on the new row. Returns the events to publish.
Type AliasesΒ§
- Events π