# plan.ops.panes.SplitWindow.from_pane

- **Module:** plan.ops.panes
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/84de9258a07d10bdd5f6da01b016a9ae06fe1210/crates/libtmux/src/plan/ops/panes.rs#L171
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-panes-splitwindow-from_pane/

```
#[must_use]
pub fn from_pane(target: impl Into<PaneTarget>) -> Self
```

Split this pane, putting a new one beside it.

Unlike [`SplitWindow::new`], divides the exact pane named -- pass
the [`Slot<PaneSlot>`] the previous split, or [`Slot::pane`], made.

## Parameters

- `target` (`impl Into<PaneTarget>`)
