# popup_draw_cb

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

```c
static void popup_draw_cb(struct client *c, void *data, struct screen_redraw_ctx *rctx)
```

## Parameters

- `c` (`struct client *`)
- `data` (`void *`)
- `rctx` (`struct screen_redraw_ctx *`)

## Calls

- [`hyperlinks_copy`](/en/tmux/3.7c/reference/c-function-hyperlinks_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L305)
- [`hyperlinks_free`](/en/tmux/3.7c/reference/c-function-hyperlinks_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L304)
- [`menu_draw_cb`](/en/tmux/3.7c/reference/c-function-menu_draw_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L343)
- [`popup_reapply_styles`](/en/tmux/3.7c/reference/c-function-popup-c-popup_reapply_styles/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L300)
- [`screen_free`](/en/tmux/3.7c/reference/c-function-screen_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L339)
- [`screen_init`](/en/tmux/3.7c/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L302)
- [`screen_write_box`](/en/tmux/3.7c/reference/c-function-screen_write_box/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L314)
- [`screen_write_clearscreen`](/en/tmux/3.7c/reference/c-function-screen_write_clearscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L308)
- [`screen_write_cursormove`](/en/tmux/3.7c/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L311)
- [`screen_write_fast_copy`](/en/tmux/3.7c/reference/c-function-screen_write_fast_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L312)
- [`screen_write_start`](/en/tmux/3.7c/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L307)
- [`screen_write_stop`](/en/tmux/3.7c/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L320)
- [`tty_draw_line`](/en/tmux/3.7c/reference/c-function-tty_draw_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L336)

## Other function references

- [`menu_check_cb`](/en/tmux/3.7c/reference/c-function-menu_check_cb/) (function)
- [`popup_check_cb`](/en/tmux/3.7c/reference/c-function-popup-c-popup_check_cb/) (function)

## Referenced by

- [`popup_display`](/en/tmux/3.7c/reference/c-function-popup_display/) (function)
- [`popup_present`](/en/tmux/3.7c/reference/c-function-popup_present/) (function)

## Referenced declarations

- [`colour_palette.bg`](/en/tmux/3.7c/reference/c-struct-colour_palette-bg/) (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_lines`](/en/tmux/3.7c/reference/c-struct-popup_data-border_lines/) (attribute)
- [`BOX_LINES_NONE`](/en/tmux/3.7c/reference/c-enum-box_lines-box_lines_none/) (constant)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`popup_data.defaults`](/en/tmux/3.7c/reference/c-struct-popup_data-defaults/) (attribute)
- [`colour_palette.fg`](/en/tmux/3.7c/reference/c-struct-colour_palette-fg/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.7c/reference/c-struct-grid_cell-fg/) (attribute)
- [`screen.hyperlinks`](/en/tmux/3.7c/reference/c-struct-screen-hyperlinks/) (attribute)
- [`popup_data.md`](/en/tmux/3.7c/reference/c-struct-popup_data-md/) (attribute)
- [`client.overlay_check`](/en/tmux/3.7c/reference/c-struct-client-overlay_check/) (attribute)
- [`client.overlay_data`](/en/tmux/3.7c/reference/c-struct-client-overlay_data/) (attribute)
- [`colour_palette.palette`](/en/tmux/3.7c/reference/c-struct-colour_palette-palette/) (attribute)
- [`popup_data.palette`](/en/tmux/3.7c/reference/c-struct-popup_data-palette/) (attribute)
- [`popup_data.px`](/en/tmux/3.7c/reference/c-struct-popup_data-px/) (attribute)
- [`popup_data.py`](/en/tmux/3.7c/reference/c-struct-popup_data-py/) (attribute)
- [`popup_data.s`](/en/tmux/3.7c/reference/c-struct-popup_data-s/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/3.7c/reference/c-struct-screen_redraw_ctx/) (struct)
- [`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)
