# libtmux.Window.name

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

```
libtmux.Window.name(self) -> str | None
```

Alias of :attr:`Window.window_name`.

```python
>>> window.name
'...'
```

```python
>>> window.name == window.window_name
True
```

## In other ports

### A window's name

- Ruby: [`LibTmux::WindowSnapshot#name`](/en/ruby/latest/reference/libtmux-windowsnapshot-name/) (method)
- Lua: [`libtmux.SnapshotWindow.name`](/en/lua/latest/reference/libtmux-snapshotwindow-name/) (attribute)
- 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.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)
