# libtmux.Window.show_window_option

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

```
libtmux.Window.show_window_option(
    self, option: str, g: bool = False
) -> str | int | None
```

Return option for target window. Deprecated by :meth:`Window.show_option()`.

## Deprecated

0.50 — Deprecated by :meth:`Window.show_option()`.

## Parameters

- `option` (`str`)
- `g` (`bool`)
