# window_name

Source: https://libtmux.org/en/tmux/3.2a/catalog/formats/window_name/

> Name of window

format variable tmux3.2a

Name of window

* Scope

  Describes the window being formatted

* Type

  Text

* Short form

  `#W`

* Usage

  `#{window_name}`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/window_name/#description)

Name of window

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/window_name/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/formats/window_name/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/formats/window_name/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/window_name/#source)

* Defined in

  [`format.c:2954`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L2954)

* C source reference

  [`format_cb_window_name`](https://libtmux.org/en/tmux/3.2a/reference/c-function-format-c-format_cb_window_name/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#window_name)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/formats/window_name/#used-by)

Library documentation that names this format variable.

* Python

  [`libtmux.Pane.__getitem__`](https://libtmux.org/en/py/latest/reference/libtmux-pane-__getitem__/), [`libtmux.Pane.get`](https://libtmux.org/en/py/latest/reference/libtmux-pane-get/), [`libtmux.pytest_plugin.session`](https://libtmux.org/en/py/latest/reference/libtmux-pytest_plugin-session/), [`libtmux.pytest_plugin.session_params`](https://libtmux.org/en/py/latest/reference/libtmux-pytest_plugin-session_params/), [`libtmux.Window.__getitem__`](https://libtmux.org/en/py/latest/reference/libtmux-window-__getitem__/), [`libtmux.Window.get`](https://libtmux.org/en/py/latest/reference/libtmux-window-get/) and 2 more

* Go

  [`tmux.FormatValues.WindowName`](https://libtmux.org/en/go/latest/reference/tmux-formatvalues-windowname/), [`tmux.Window.Name`](https://libtmux.org/en/go/latest/reference/tmux-window-name/)

* C++

  [`libtmux::Window::show_message`](https://libtmux.org/en/cxx/latest/reference/libtmux-window-show_message/)
