# format_defaults_window

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

```c
void format_defaults_window(struct format_tree *ft, struct window *w)
```

## Parameters

- `ft` (`struct format_tree *`)
- `w` (`struct window *`)

## Called by

- [`format_defaults_pane`](/en/tmux/3.2a/reference/c-function-format_defaults_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L4778)
- [`format_defaults_winlink`](/en/tmux/3.2a/reference/c-function-format-c-format_defaults_winlink/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/format.c#L4767)
- [`format_window_name`](/en/tmux/3.2a/reference/c-function-names-c-format_window_name/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/names.c#L131)

## Referenced declarations

- [`format_tree`](/en/tmux/3.2a/reference/c-struct-format_tree/) (struct)
- [`format_tree.w`](/en/tmux/3.2a/reference/c-struct-format_tree-w/) (attribute)
- [`window`](/en/tmux/3.2a/reference/c-struct-window/) (struct)
