# session.NewWindowOptions.placement

- **Module:** session.NewWindowOptions
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/session.rs#L1083
- **Page:** https://libtmux.org/reference/rs/session-newwindowoptions-placement/

```
session.NewWindowOptions.placement(mut, placement: WindowPlacement) -> Self
```

Insert relative to the index rather than at it.

Without an index this is relative to the session's current window,
which is what tmux does.
