Skip to main content

setup_torn_off_stack_layout

Function setup_torn_off_stack_layout 

Source
pub(crate) async fn setup_torn_off_stack_layout(
    state: &AppState,
    new_tab_id: &str,
    block_id: &str,
    members: &[String],
) -> Result<(), String>
Expand description

setup_torn_off_block_layout for a whole pane torn off with its tabs: the one leaf holds members as its block_stack (in order), with block_id the visible one. Fewer than two members seed a plain leaf.