# popup_reapply_styles

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

```c
static void popup_reapply_styles(struct popup_data *pd)
```

## Parameters

- `pd` (`struct popup_data *`)

## Called by

- [`popup_draw_cb`](/en/tmux/3.7c/reference/c-function-popup-c-popup_draw_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L300)

## Calls

- [`format_create_defaults`](/en/tmux/3.7c/reference/c-function-format_create_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L140)
- [`format_free`](/en/tmux/3.7c/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L167)
- [`style_apply`](/en/tmux/3.7c/reference/c-function-style_apply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L144)
- [`style_parse`](/en/tmux/3.7c/reference/c-function-style_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L147)
- [`style_set`](/en/tmux/3.7c/reference/c-function-style_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L146)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.7c/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/3.7c/reference/c-struct-grid_cell-bg/) (attribute)
- [`popup_data.border_cell`](/en/tmux/3.7c/reference/c-struct-popup_data-border_cell/) (attribute)
- [`popup_data.border_style`](/en/tmux/3.7c/reference/c-struct-popup_data-border_style/) (attribute)
- [`popup_data.c`](/en/tmux/3.7c/reference/c-struct-popup_data-c/) (attribute)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`popup_data.defaults`](/en/tmux/3.7c/reference/c-struct-popup_data-defaults/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.7c/reference/c-struct-grid_cell-fg/) (attribute)
- [`style.gc`](/en/tmux/3.7c/reference/c-struct-style-gc/) (attribute)
- [`grid_default_cell`](/en/tmux/3.7c/reference/c-variable-grid_default_cell/) (attribute)
- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`popup_data`](/en/tmux/3.7c/reference/c-struct-popup_data/) (struct)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`popup_data.style`](/en/tmux/3.7c/reference/c-struct-popup_data-style/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
