# tty_window_default_style

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L3052
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-tty-c-tty_window_default_style/

```c
static void tty_window_default_style(struct grid_cell *gc, struct window_pane *wp)
```

## Parameters

- `gc` (`struct grid_cell *`)
- `wp` (`struct window_pane *`)

## Called by

- [`tty_style_changed`](/en/tmux/latest/reference/c-function-tty-c-tty_style_changed/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L3071)

## Referenced declarations

- [`colour_palette.bg`](/en/tmux/latest/reference/c-struct-colour_palette-bg/) (attribute)
- [`grid_cell.bg`](/en/tmux/latest/reference/c-struct-grid_cell-bg/) (attribute)
- [`colour_palette.fg`](/en/tmux/latest/reference/c-struct-colour_palette-fg/) (attribute)
- [`grid_cell.fg`](/en/tmux/latest/reference/c-struct-grid_cell-fg/) (attribute)
- [`grid_cell`](/en/tmux/latest/reference/c-struct-grid_cell/) (struct)
- [`grid_default_cell`](/en/tmux/latest/reference/c-variable-grid_default_cell/) (attribute)
- [`window_pane.palette`](/en/tmux/latest/reference/c-struct-window_pane-palette/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
