Skip to main content

seed_layout

Function seed_layout 

Source
async fn seed_layout(
    state: &AppState,
    ws_id: &str,
    tab_id: &str,
    seed_view: Option<&str>,
    seeded_ids: &[String],
    offer_other_build: bool,
)
Expand description

Writes the layout for the seeded panes: a single leaf for a widget’s “Open in New Window” (see single_leaf_tree), the shared three-pane tree for the default. A cold start with nothing of its own to restore (offer_other_build) also notes what it seeded, for a layout another build saved to be offered. A seeding that came out short leaves the tab blank.