# io.github.libtmux.Window.Window.unlink

- **Module:** io.github.libtmux.Window.Window
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/c3517519ee799428a809ce6deb1708c8be289cd1/libtmux/src/main/java/io/github/libtmux/Window.java#L194
- **Page:** https://libtmux.org/reference/java/io-github-libtmux-window-window-unlink/

```
io.github.libtmux.Window.Window.unlink() -> void
```

Removes this link, leaving the window wherever else it is linked.

## Raises

- `LibTmuxException` — if this is the window's only link, which tmux refuses to remove
