# window.SplitOptions.size

- **Module:** window.SplitOptions
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/window.rs#L1904
- **Page:** https://libtmux.org/en/rs/latest/reference/window-splitoptions-size/

```
window.SplitOptions.size(mut, size: PaneSize) -> Self
```

Give the new pane a size, in cells or as a share of the space.
