# popup_modify

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

```c
int popup_modify(struct client *c, const char *title, const char *style, const char *border_style, enum box_lines lines, int flags)
```

## Parameters

- `c` (`struct client *`)
- `title` (`const char *`)
- `style` (`const char *`)
- `border_style` (`const char *`)
- `lines` (`enum box_lines`)
- `flags` (`int`)

## Called by

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

## Calls

- [`job_resize`](/en/tmux/3.7c/reference/c-function-job_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L756)
- [`screen_resize`](/en/tmux/3.7c/reference/c-function-screen_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L755)
- [`server_redraw_client`](/en/tmux/3.7c/reference/c-function-server_redraw_client/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L768)
- [`style_parse`](/en/tmux/3.7c/reference/c-function-style_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L739)
- [`style_set`](/en/tmux/3.7c/reference/c-function-style_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L738)
- [`tty_resize`](/en/tmux/3.7c/reference/c-function-tty_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L763)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L733)

## Referenced declarations

- [`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_lines`](/en/tmux/3.7c/reference/c-struct-popup_data-border_lines/) (attribute)
- [`popup_data.border_style`](/en/tmux/3.7c/reference/c-struct-popup_data-border_style/) (attribute)
- [`box_lines`](/en/tmux/3.7c/reference/c-enum-box_lines/) (enum)
- [`BOX_LINES_DEFAULT`](/en/tmux/3.7c/reference/c-enum-box_lines-box_lines_default/) (constant)
- [`BOX_LINES_NONE`](/en/tmux/3.7c/reference/c-enum-box_lines-box_lines_none/) (constant)
- [`popup_data.c`](/en/tmux/3.7c/reference/c-struct-popup_data-c/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`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)
- [`popup_data.flags`](/en/tmux/3.7c/reference/c-struct-popup_data-flags/) (attribute)
- [`style.gc`](/en/tmux/3.7c/reference/c-struct-style-gc/) (attribute)
- [`popup_data.job`](/en/tmux/3.7c/reference/c-struct-popup_data-job/) (attribute)
- [`client.overlay_data`](/en/tmux/3.7c/reference/c-struct-client-overlay_data/) (attribute)
- [`popup_data.s`](/en/tmux/3.7c/reference/c-struct-popup_data-s/) (attribute)
- [`popup_data.style`](/en/tmux/3.7c/reference/c-struct-popup_data-style/) (attribute)
- [`popup_data.sx`](/en/tmux/3.7c/reference/c-struct-popup_data-sx/) (attribute)
- [`popup_data.sy`](/en/tmux/3.7c/reference/c-struct-popup_data-sy/) (attribute)
- [`popup_data.title`](/en/tmux/3.7c/reference/c-struct-popup_data-title/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
