# window.JoinOptions.new

- **Module:** window.JoinOptions
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/window.rs#L1678
- **Page:** https://libtmux.org/en/rs/latest/reference/window-joinoptions-new/

```
window.JoinOptions.new(direction: SplitDirection) -> Self
```

Land the pane in one direction from the pane it joins.
