# libtmux.Pane.window

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** property
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/pane.py#L274
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-pane-window/

```
libtmux.Pane.window(self) -> Window
```

Parent window of pane.

## In other ports

### Find a pane's containing window

- Ruby: [`LibTmux::PaneSnapshot#window`](/en/ruby/latest/reference/libtmux-panesnapshot-window/) (method)
- Lua: [`libtmux.SnapshotPane.window`](/en/lua/latest/reference/libtmux-snapshotpane-window/) (attribute)
- TypeScript: [`pane.Pane.window`](/en/ts/latest/reference/pane-pane-window/) (method)
- Rust: [`pane.Pane.window`](/en/rs/latest/reference/pane-pane-window/) (method)
- Go: [`tmux.Pane.Window`](/en/go/latest/reference/tmux-pane-window/) (method)
- Java: [`io.github.libtmux.Pane.Pane.window`](/en/java/latest/reference/io-github-libtmux-pane-pane-window/) (method)
- C#: [`LibTmux.Pane.Window`](/en/csharp/latest/reference/libtmux-pane-window/) (property)
- C++: [`libtmux::Pane::window`](/en/cxx/latest/reference/libtmux-pane-window/) (method)
- Kotlin: [`io.github.libtmux.kotlin.Pane.window`](/en/kotlin/latest/reference/io-github-libtmux-kotlin-pane-window/) (property)
- Scala: [`io.github.libtmux.scaladsl.Pane.window`](/en/scala/latest/reference/io-github-libtmux-scaladsl-pane-window/) (method)
