# window_set_fill_character

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

```c
void window_set_fill_character(struct window *w)
```

## Parameters

- `w` (`struct window *`)

## Called by

- [`options_push_changes`](/en/tmux/latest/reference/c-function-options_push_changes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/options.c#L1207)
- [`window_create`](/en/tmux/latest/reference/c-function-window_create/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L333)

## Calls

- [`options_get_string`](/en/tmux/latest/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1870)
- [`utf8_fromcstr`](/en/tmux/latest/reference/c-function-utf8_fromcstr/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1872)

## Other function references

- [`utf8_isvalid`](/en/tmux/latest/reference/c-function-utf8_isvalid/) (function)

## Referenced declarations

- [`window.fill_character`](/en/tmux/latest/reference/c-struct-window-fill_character/) (attribute)
- [`window.options`](/en/tmux/latest/reference/c-struct-window-options/) (attribute)
- [`utf8_data.width`](/en/tmux/latest/reference/c-struct-utf8_data-width/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
