# io.github.libtmux.scaladsl.cats.Window

- **Module:** io.github.libtmux.scaladsl.cats
- **Package:** io.github.libtmux:libtmux-scala_3
- **Language:** Scala
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/Handles.scala#L32
- **Page:** https://libtmux.org/en/scala/latest/reference/io-github-libtmux-scaladsl-cats-window/

```
final class Window[F[_]]
```

A tmux window at a specific session position, with operations in the effect type `F`.

## Members

### Parent objects

- `session` (method): The session this link belongs to.
- `server` (property)

### Collections and queries

- `panes` (method): This link's panes, in tmux's order.

### Common operations

- `split` (method): Splits this window's active pane in half, putting the new one below it.

### Other members

- `active` (method): Whether this was its session's active window when captured.
- `activePane` (method): The pane tmux had active here.
- `applyLayout` (method): Restores an exact arrangement previously read from {@link #layout()}.
- `asJava` (method): The Java handle this wraps: the one escape hatch, as on every handle.
- `context` (method): The winlink this handle addresses.
- `displayPopup` (method): Shows a popup over this window, running a command in it.
- `equals` (method)
- `expand` (method): Expands a tmux format in this window's context, and answers with what it came to.
- `hashCode` (method)
- `hooks` (method): This window's own hooks, which every link to it shares.
- `id` (method): The underlying window, shared by every link to it.
- `index` (method): Where this link sits in its session.
- `info` (method): The fields this capture stored.
- `kill` (method): Closes this window.
- `layout` (method): tmux's own layout for this window, in whichever form this server writes it.
- `linked` (method): Whether the underlying window is linked into more than one session.
- `linkTo` (method): Links this window into another session, so one window sits in both.
- `moveTo` (method): Moves this window into another session.
- `name` (method): The window name.
- `nextLayout` (method): Moves to the next built-in layout, as tmux's own binding does.
- `options` (method): This window's own options, which every link to it shares.
- `previousLayout` (method): Moves to the previous built-in layout, as tmux's own binding does.
- `refresh` (method): Takes a new capture and returns this winlink as it is now.
- `rename` (method): Renames this window and returns its replacement capture.
- `resizeTo` (method): Resizes this window in terminal cells.
- `respawn` (method): Kills what is running in this window and starts it again.
- `rotate` (method): Rotates the panes within this window.
- `select` (method): Makes this the active window of its session.
- `selectLayout` (method): Rearranges this window's panes into one of tmux's built-in layouts.
- `size` (method): How large the window was when captured, in terminal cells.
- `stopSynchronizingPanes` (method): Stops copying input between this window's panes.
- `synchronizePanes` (method): Copies input to one pane into every pane in this window, until {@link #stopSynchronizingPanes}.
- `toString` (method)
- `unlink` (method): Removes this link, leaving the window wherever else it is linked.
