# window_name

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

> Name of window

format variable tmux3.7c

Name of window

* Scope

  Describes the window being formatted

* Type

  Text

* Short form

  `#W`

* Usage

  `#{window_name}`

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

Name of window

## Releases[#](https://libtmux.org/en/tmux/latest/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/latest/catalog/formats/window_name/#source)

* Defined in

  [`format.c:3731`](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3731)

* C source reference

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

* CLI Manual

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

## Used by[#](https://libtmux.org/en/tmux/latest/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/)
