# tmux.SelectLayoutRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/window_layout.go#L16
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-selectlayoutrequest/

SelectLayoutRequest selects one layout operation. Its zero value reapplies the last preset layout. Layout, Spread, Next, and Previous are mutually exclusive and are validated before execution; an empty Layout is omitted rather than passed explicitly. The request contains no retained caller-owned storage and is supported on tmux 3.2a or later.

## Members

- `Layout` (attribute): Layout names a preset or supplies a tmux layout string - either the classic checksum-prefixed grammar every supported version accepts, or the JSON shape tmux 3.8+ also accepts, exactly as #{window_layout} reported it; empty selects the zero-value behavior.
- `Spread` (attribute): Spread distributes pane space evenly.
- `Next` (attribute): Next selects the next preset layout.
- `Previous` (attribute): Previous selects the previous preset layout.
