Skip to main content

Module steps

Module steps 

Source
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Β§

RestoreRequest πŸ”’
What a window’s restore request came to, and the lock that keeps the next opener behind it.
WorkspaceChoice πŸ”’
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_id and 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 πŸ”’