# window_pane_get_palette

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1048
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window_pane_get_palette/

```c
int window_pane_get_palette(struct window_pane *wp, int c)
```

## Parameters

- `wp` (`struct window_pane *`)
- `c` (`int`)

## Called by

- [`window_redraw_active_switch`](/en/tmux/3.2a/reference/c-function-window_redraw_active_switch/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L507)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`COLOUR_FLAG_256`](/en/tmux/3.2a/reference/c-define-tmux-h-colour_flag_256/) (constant)
- [`window_pane.palette`](/en/tmux/3.2a/reference/c-struct-window_pane-palette/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
