# LibTmux.NewWindowRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Requests/NewWindowRequest.cs#L6
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-newwindowrequest/

Describes one <c>new-window</c> invocation.

## Members

- `Name` (property): Gets the window name.
- `StartDirectory` (property): Gets the working directory for the first pane.
- `Attach` (property): Gets whether the new window becomes current.
- `Index` (property): Gets the window index to create at.
- `Command` (property): Gets the command the first pane runs.
- `Environment` (property): Gets the environment entries set on the window.
- `Direction` (property): Gets whether to insert before or after the target.
- `TargetWindow` (property): Gets the window to insert relative to.
- `KillExisting` (property): Gets whether an existing window at the index is replaced.
- `SelectExisting` (property): Gets whether an existing window is selected instead.
- `ToCommand` (method): Returns a window request as one tmux command.
