# LibTmux::Model::WindowRef.restore-layout

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Model.rakumod#L193
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-windowref-restore-layout/

```
method restore-layout(Blob:D $layout --> Result:D)
```

Validate and apply serialized layout bytes in the daemon's declared dialect.

Validate and apply serialized layout bytes in the daemon's declared dialect.

## Parameters

- `$layout` (`Blob:D`)

## tmux command

The tmux commands behind `restore-layout`.

- [`select-layout`](/en/tmux/latest/manual/select-layout/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_select_layout_entry`](/en/tmux/latest/reference/c-variable-cmd_select_layout_entry/) (attribute)
- [`cmd_select_layout_exec`](/en/tmux/latest/reference/c-function-cmd-select-layout-c-cmd_select_layout_exec/) (function)
