# libtmux.Window.height

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

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

Alias of :attr:`Window.window_height`.

```python
>>> window.height.isdigit()
True
```

```python
>>> window.height == window.window_height
True
```

## In other ports

### A window's height in cells

- Ruby: [`LibTmux::WindowSnapshot#height`](/en/ruby/latest/reference/libtmux-windowsnapshot-height/) (method)
- Lua: [`libtmux.SnapshotWindow.height`](/en/lua/latest/reference/libtmux-snapshotwindow-height/) (attribute)
- Rust: [`window.Window.height`](/en/rs/latest/reference/window-window-height/) (method)
- Go: [`tmux.Window.Height`](/en/go/latest/reference/tmux-window-height/) (method)
- C#: [`LibTmux.Window.Height`](/en/csharp/latest/reference/libtmux-window-height/) (property)
- C++: [`libtmux::Window::height`](/en/cxx/latest/reference/libtmux-window-height-d46i/) (method)
- Swift: [`Window.height`](/en/swift/latest/reference/window-height/) (property)
