# libtmux.Window.show_options

- **Module:** libtmux.Window
- **Package:** libtmux
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/libtmux/blob/036c521c4b83ce6e434eb50afe2a0d08a6a05e46/src/libtmux/options.py#L993
- **Page:** https://libtmux.org/reference/py/libtmux-window-show_options/

```
libtmux.Window.show_options(self, global_: bool = False, scope: OptionScope | _DefaultOptionScope | None = DEFAULT_OPTION_SCOPE, include_hooks: bool | None = None, include_inherited: bool | None = None, quiet: bool | None = None) -> ExplodedComplexUntypedOptionsDict
```

Return all options for the target.

## Parameters

- `self`
- `global_` (bool) — Pass ``-g`` flag for global options, default False.
- `scope` (OptionScope | _DefaultOptionScope | None) — Option scope (Server/Session/Window/Pane), defaults to object's scope.
- `include_hooks` (bool | None) — Include hook options (``-H`` flag).
- `include_inherited` (bool | None) — Include inherited options (``-A`` flag).
- `quiet` (bool | None) — Suppress errors silently (``-q`` flag).

## Returns

ExplodedComplexUntypedOptionsDict
    Dictionary with all options, arrays exploded and values converted.

## Raises

- `exc.OptionError`
- `exc.UnknownOption`
- `exc.InvalidOption`
- `exc.AmbiguousOption`

## Example

```python
>>> options = server.show_options()
>>> isinstance(options, dict)
True
```

## Example

```python
>>> 'buffer-limit' in options
True
```
