# tmux.WindowRef

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/plan.go#L73
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-windowref/

```
tmux.WindowRef(id: WindowID) -> Ref
```

WindowRef returns a selector-relative [Ref] addressing a window by ID, for a caller holding an identifier rather than a materialized record.
