# menu_reapply_styles

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

```c
static void menu_reapply_styles(struct menu_data *md, struct client *c)
```

## Parameters

- `md` (`struct menu_data *`)
- `c` (`struct client *`)

## Called by

- [`menu_draw_cb`](/en/tmux/3.7c/reference/c-function-menu_draw_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L270)

## Calls

- [`format_create_defaults`](/en/tmux/3.7c/reference/c-function-format_create_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L217)
- [`format_free`](/en/tmux/3.7c/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L256)
- [`style_apply`](/en/tmux/3.7c/reference/c-function-style_apply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L221)
- [`style_parse`](/en/tmux/3.7c/reference/c-function-style_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L224)
- [`style_set`](/en/tmux/3.7c/reference/c-function-style_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/menu.c#L223)

## Referenced declarations

- [`grid_cell.bg`](/en/tmux/3.7c/reference/c-struct-grid_cell-bg/) (attribute)
- [`menu_data.border_style`](/en/tmux/3.7c/reference/c-struct-menu_data-border_style/) (attribute)
- [`menu_data.border_style_gc`](/en/tmux/3.7c/reference/c-struct-menu_data-border_style_gc/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (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)
- [`menu_data`](/en/tmux/3.7c/reference/c-struct-menu_data/) (struct)
- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`menu_data.selected_style`](/en/tmux/3.7c/reference/c-struct-menu_data-selected_style/) (attribute)
- [`menu_data.selected_style_gc`](/en/tmux/3.7c/reference/c-struct-menu_data-selected_style_gc/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`menu_data.style`](/en/tmux/3.7c/reference/c-struct-menu_data-style/) (attribute)
- [`menu_data.style_gc`](/en/tmux/3.7c/reference/c-struct-menu_data-style_gc/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
