# popup_draw_cb

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L124
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-popup-c-popup_draw_cb/

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

## Parameters

- `c` (`struct client *`)
- `ctx0` (`struct screen_redraw_ctx *`)

## Calls

- [`screen_init`](/en/tmux/3.2a/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L132)
- [`screen_write_box`](/en/tmux/3.2a/reference/c-function-screen_write_box/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L135)
- [`screen_write_clearscreen`](/en/tmux/3.2a/reference/c-function-screen_write_clearscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L134)
- [`screen_write_cursormove`](/en/tmux/3.2a/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L136)
- [`screen_write_fast_copy`](/en/tmux/3.2a/reference/c-function-screen_write_fast_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L137)
- [`screen_write_start`](/en/tmux/3.2a/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L133)
- [`screen_write_stop`](/en/tmux/3.2a/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L138)
- [`tty_draw_line`](/en/tmux/3.2a/reference/c-function-tty_draw_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/popup.c#L142)

## Other function references

- [`popup_check_cb`](/en/tmux/3.2a/reference/c-function-popup-c-popup_check_cb/) (function)

## Referenced by

- [`popup_display`](/en/tmux/3.2a/reference/c-function-popup_display/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/3.2a/reference/c-define-compat-h-__unused/) (constant)
- [`popup_data.c`](/en/tmux/3.2a/reference/c-struct-popup_data-c/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`grid_default_cell`](/en/tmux/3.2a/reference/c-variable-grid_default_cell/) (attribute)
- [`client.overlay_check`](/en/tmux/3.2a/reference/c-struct-client-overlay_check/) (attribute)
- [`client.overlay_data`](/en/tmux/3.2a/reference/c-struct-client-overlay_data/) (attribute)
- [`popup_data.px`](/en/tmux/3.2a/reference/c-struct-popup_data-px/) (attribute)
- [`popup_data.py`](/en/tmux/3.2a/reference/c-struct-popup_data-py/) (attribute)
- [`popup_data.s`](/en/tmux/3.2a/reference/c-struct-popup_data-s/) (attribute)
- [`screen_write_ctx.s`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-s/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx/) (struct)
- [`popup_data.sx`](/en/tmux/3.2a/reference/c-struct-popup_data-sx/) (attribute)
- [`popup_data.sy`](/en/tmux/3.2a/reference/c-struct-popup_data-sy/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
