# libtmux.constants.WindowDirection

- **Module:** libtmux.constants
- **Package:** libtmux
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/constants.py#L25
- **Bases:** [`enum.Enum`](https://docs.python.org/3/library/enum.html#enum.Enum)
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-constants-windowdirection/

Used for *adjustment* in :meth:`Session.new_window()`.

## Members

### Other members

- [`After`](/en/py/stable/reference/libtmux-constants-windowdirection-after/) (attribute)
- [`Before`](/en/py/stable/reference/libtmux-constants-windowdirection-before/) (attribute)
