# LibTmux::Window::name

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

```
sub name($self)
```

string. Local captured data; no I/O.

## Methods

## In other ports

A window's name

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window.name`](/en/py/latest/reference/libtmux-window-name/) (property) |
| Ruby | [`LibTmux::WindowSnapshot#name`](/en/ruby/latest/reference/libtmux-windowsnapshot-name/) (method) |
| Lua | [`libtmux.SnapshotWindow.name`](/en/lua/latest/reference/libtmux-snapshotwindow-name/) (attribute) |
| Elixir | [`LibTmux.Window.name`](/en/elixir/latest/reference/libtmux-window-name/) (property) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no accessor; the field is read from `Window.format`, tmux's own row |
| Rust | [`window.Window.name`](/en/rs/latest/reference/window-window-name/) (method) |
| Go | [`tmux.Window.Name`](/en/go/latest/reference/tmux-window-name/) (method) |
| Java | [`io.github.libtmux.Window.name`](/en/java/latest/reference/io-github-libtmux-window-window-name/) (method) |
| C# | [`LibTmux.Window.Name`](/en/csharp/latest/reference/libtmux-window-name/) (property) |
| C++ | [`libtmux::Window::name`](/en/cxx/latest/reference/libtmux-window-name-145z/) (method) |
| Swift | [`Window.name`](/en/swift/latest/reference/window-name/) (property) |
| OCaml | [`Libtmux.Window.name`](/en/ocaml/latest/reference/libtmux-window-name/) (function) |

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