# libtmux.Window.get

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

```
libtmux.Window.get(self, key: str, default: t.Any | None = None) -> t.Any
```

Return key-based lookup. Deprecated by attributes.
