# tmux_model:window_link/1

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_model.erl#L208
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_model-window_link-1/

```
window_link(Fields)
-spec window_link(window_link_input()) ->
                     {ok, window_link()} |
                     {error, tmux_schema:error_detail()}.
```

Construct a detached window_link row, validating required fields and scalar bounds without tmux I/O.

## Parameters

- `Fields` (`window_link_input()`)
