# WindowPlacement

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Creation.swift#L57
- **Page:** https://libtmux.org/reference/swift/windowplacement/

Where a new window goes relative to one that is already there.

Windows are ordered by index, and tmux renumbers on insert, so this says
what a caller means — next to *that* window — rather than an index that is
only correct until the next insertion.

## Members

- `!=(_:_:)` (function) — Returns a Boolean value indicating whether two values are not equal.
- `before` (constant) — Takes the neighbour's index, pushing it and everything after it up.
- `after` (constant) — Goes immediately after the neighbour.
- `init(from:)` (method) — Creates a new instance by decoding from the given decoder.
