# window_pane_get_theme

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L2010
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window_pane_get_theme/

```c
enum client_theme window_pane_get_theme(struct window_pane *wp)
```

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`input_csi_dispatch_sm_private`](/en/tmux/3.7c/reference/c-function-input-c-input_csi_dispatch_sm_private/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L2064)
- [`input_report_current_theme`](/en/tmux/3.7c/reference/c-function-input-c-input_report_current_theme/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3582)
- [`window_pane_send_theme_update`](/en/tmux/3.7c/reference/c-function-window_pane_send_theme_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L2066)

## Calls

- [`colour_totheme`](/en/tmux/3.7c/reference/c-function-colour_totheme/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L2025)

## Other function references

- [`session_has`](/en/tmux/3.7c/reference/c-function-session_has/) (function)
- [`window_pane_get_bg`](/en/tmux/3.7c/reference/c-function-window_pane_get_bg/) (function)

## Referenced declarations

- [`client_theme`](/en/tmux/3.7c/reference/c-enum-client_theme/) (enum)
- [`CLIENT_UNATTACHEDFLAGS`](/en/tmux/3.7c/reference/c-define-tmux-h-client_unattachedflags/) (constant)
- [`client.entry`](/en/tmux/3.7c/reference/c-struct-client-entry/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`client.theme`](/en/tmux/3.7c/reference/c-struct-client-theme/) (attribute)
- [`THEME_DARK`](/en/tmux/3.7c/reference/c-enum-client_theme-theme_dark/) (constant)
- [`THEME_LIGHT`](/en/tmux/3.7c/reference/c-enum-client_theme-theme_light/) (constant)
- [`THEME_UNKNOWN`](/en/tmux/3.7c/reference/c-enum-client_theme-theme_unknown/) (constant)
- [`window_pane.window`](/en/tmux/3.7c/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
