# libtmux::NewWindowOptions

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L92
- **Page:** https://libtmux.org/reference/cxx/libtmux-newwindowoptions/

## Members

- `name` (attribute)
- `start_directory` (attribute)
- `shell_command` (attribute)
- `after_current` (attribute) — Immediately after the current window rather than at the end.
- `index` (attribute) — Put the window at this index rather than at the next free one.
- `focus` (attribute)
- `environment` (attribute) — Variables the new process starts with, on top of what tmux passes down.
