Skip to main content

move_pane

Function move_pane 

Source
async fn move_pane(
    state: &AppState,
    __arg1: (&str, &str),
    __arg2: (&[String], &str),
    band: Option<(LayoutEdge, f64)>,
) -> Result<(), String>
Expand description

Move the pane stack (its tabs, in order; active shows) from tab src into tab dst, as a band on band‘s edge at its thickness: the blocks first, then out of the one layout and into the other. All or nothing: a step that fails puts back the blocks already moved, at their places in the source tab, and both tabs’ layouts.