# libtmux.Window.get_by_id

- **Module:** libtmux.Window
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/9fdd083a8181a827889337b63cd4e6daea661a8c/src/libtmux/window.py#L1898
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-window-get_by_id/

```
libtmux.Window.get_by_id(self, pane_id: str) -> Pane | None
```

Return pane by id. Deprecated in favor of :meth:`.panes.get()`.
