# LibTmux::Pane::window

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/Pane.pm#L17
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-pane-window/

```
sub window($self)
```

[`LibTmux::Window`](/en/perl/latest/reference/libtmux-window/) entity. Local captured data; no I/O.

## Methods

## In other ports

Find a pane's containing window

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.window`](/en/py/latest/reference/libtmux-pane-window/) (property) |
| Ruby | [`LibTmux::PaneSnapshot#window`](/en/ruby/latest/reference/libtmux-panesnapshot-window/) (method) |
| Lua | [`libtmux.SnapshotPane.window`](/en/lua/latest/reference/libtmux-snapshotpane-window/) (attribute) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| 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.window`](/en/java/latest/reference/io-github-libtmux-pane-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) |
| C# | [`LibTmux.Pane.Window`](/en/csharp/latest/reference/libtmux-pane-window/) (property) |
| C++ | [`libtmux::Pane::window`](/en/cxx/latest/reference/libtmux-pane-window/) (method) |
| Swift | no direct accessor; match Pane.windowID against Snapshot.windows |
| OCaml | [`Libtmux.Pane.window`](/en/ocaml/latest/reference/libtmux-pane-window/) (function) |

No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.
