# libtmux.Pane.width

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

```
libtmux.Pane.width(self) -> str | None
```

Alias of :attr:`Pane.pane_width`.

```python
>>> pane.width.isdigit()
True
```

```python
>>> pane.width == pane.pane_width
True
```

## In other ports

### A pane's width in cells

- Ruby: [`LibTmux::PaneSnapshot#width`](/en/ruby/latest/reference/libtmux-panesnapshot-width/) (method)
- Lua: [`libtmux.SnapshotPane.width`](/en/lua/latest/reference/libtmux-snapshotpane-width/) (attribute)
- Rust: [`pane.Pane.width`](/en/rs/latest/reference/pane-pane-width/) (method)
- Go: [`tmux.Pane.Width`](/en/go/latest/reference/tmux-pane-width/) (method)
- C#: [`LibTmux.Pane.Width`](/en/csharp/latest/reference/libtmux-pane-width/) (property)
- C++: [`libtmux::Pane::width`](/en/cxx/latest/reference/libtmux-pane-width-ojiw/) (method)
- Swift: [`Pane.width`](/en/swift/latest/reference/pane-width/) (property)
