# LibTmux::WindowLink#window

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/da7b6191b9439e3c84fa1c9eeaa9168263ee7af4/gems/libtmux/lib/libtmux/entity.rb#L220
- **Page:** https://libtmux.org/en/ruby/v0.1.1/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

| Language | Equivalent |
| --- | --- |
| Python | Window itself carries the session placement |
| Lua | [`libtmux.SnapshotWindowLink.window`](/en/lua/latest/reference/libtmux-snapshotwindowlink-window/) (attribute) |
| TypeScript | Window itself carries the session placement |
| Rust | Window itself carries the session placement |
| Go | Window itself carries the session placement |
| Java | Window itself carries the session placement |
| C# | Window itself carries the session placement |
| C++ | Window itself carries the session placement |
| Swift | [`WindowAppearance.window`](/en/swift/latest/reference/windowappearance-window/) (property) |

No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.
