# LibTmux.Window

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Window.cs#L4
- **Page:** https://libtmux.org/reference/dotnet/libtmux-window/

Represents an immutable window handle and snapshot.

## Members

- `Window` (method)
- `ExecuteCommandAsync` (method) — Executes one raw tmux command against this window.
- `DisplayMessageAsync` (method) — Shows a message on the client viewing this window.
- `FromEnvironmentAsync` (method) — Returns the window holding the pane this process runs in.
- `Snapshot` (property) — Gets the tmux fields captured when this handle materialized, or null when none were.
- `RawFormatFields` (property) — Gets the tmux fields captured when this handle materialized.
- `Id` (property) — Gets the window identifier.
- `Generation` (property) — Gets the server generation captured with this window.
- `Equals` (method)
- `GetHashCode` (method)
- `ResizeAsync` (method) — Resizes this window.
- `BuildResizeWindowArguments` (method)
- `BuildSelectLayoutArguments` (method) — Builds the arguments a layout request sends.
- `SelectLayoutAsync` (method) — Applies a layout to this window.
- `SelectNextLayoutAsync` (method) — Moves to the next layout.
- `SelectPreviousLayoutAsync` (method) — Moves to the previous layout.
- `RenameAsync` (method) — Renames this window.
- `SelectAsync` (method) — Selects this window in its session.
- `KillAsync` (method) — Stops this window.
- `RotateAsync` (method) — Rotates the panes in this window.
- `RespawnAsync` (method) — Restarts the command running in this window.
- `CreateWindowAsync` (method) — Creates a window next to this one.
- `BuildLinkWindowArguments` (method) — Builds the arguments a link request sends.
- `LinkAsync` (method) — Links this window into another session.
- `UnlinkAsync` (method) — Removes this window's link to the session it was read through.
- `BuildMoveWindowArguments` (method) — Builds the arguments a move request sends.
- `MoveAsync` (method) — Moves this window to another index or session.
- `SwapAsync` (method) — Swaps this window with another.
- `SelectLastPaneAsync` (method) — Selects the pane that was last active.
- `SelectPaneAsync` (method) — Selects a pane in this window.
- `GetPaneAsync` (method) — Reads one pane in this window.
- `SplitPaneAsync` (method) — Splits a pane in this window.
- `CreatePaneAsync` (method) — Creates a floating pane in this window.
- `SearchPanesAsync` (method) — Runs a tmux-side filter over this window's panes.
- `ActivePane` (property) — Gets the active pane recorded when this window was read.
- `Panes` (property) — Gets the panes the capture found in this window.
- `LinkedSessions` (property) — Gets the sessions the capture found this window linked into.
- `Edge` (property) — Gets where this window sits in the session it was read from.
- `EntityKey` (property) — Gets the session and window this handle names together.
- `GetPanesAsync` (method) — Reads this window's panes from tmux.
- `GetLinkedSessionsAsync` (method) — Reads every session this window is linked into.
- `WithCaptured` (method)
- `Options` (property) — Gets the options of this window.
- `Hooks` (property) — Gets the hooks of this window.
- `Name` (property) — Gets the window name captured with this handle.
- `Index` (property) — Gets the index this window holds in its session.
- `Height` (property) — Gets the window height captured with this handle.
- `Width` (property) — Gets the window width captured with this handle.
- `Server` (property) — Gets the server that owns this window.
- `Session` (property) — Gets the session this window was read through.
- `RefreshAsync` (method) — Re-reads this window from tmux.
