# Libtmux.Operations.select_layout

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1321
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-select_layout/

```
val select_layout : Window.target -> Layout.t -> unit Command.t
```

Apply a preset or validated custom layout to the window. Pane geometry follows tmux layout rules; capture again to observe the result.

## Parameters

- `arg1` (`Window.target`)
- `arg2` (`Layout.t`)
