# LibTmux.NewWindowRequest

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

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

## Members

- `NewWindowRequest` (method) — Initializes a window-creation request.
- `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.
- `WithTargetWindow` (method) — Returns this request aimed at one window.
