# LibTmux::WindowLink#window

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/entity.rb#L211
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-windowlink-window/

```
def window: () -> ::LibTmux::Window
```

Behavior: Live handles.

Behavior contract: Live handles.

## In other ports

### The window represented by a window placement

- Lua: [`libtmux.SnapshotWindowLink.window`](/en/lua/latest/reference/libtmux-snapshotwindowlink-window/) (attribute)
- Swift: [`WindowAppearance.window`](/en/swift/latest/reference/windowappearance-window/) (property)
