# popup_init_ctx_cb

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

```c
static void popup_init_ctx_cb(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx)
```

## Parameters

- `ctx` (`struct screen_write_ctx *`)
- `ttyctx` (`struct tty_ctx *`)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`screen_write_ctx.arg`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx-arg/) (attribute)
- [`tty_ctx.arg`](/en/tmux/3.2a/reference/c-struct-tty_ctx-arg/) (attribute)
- [`tty_ctx.redraw_cb`](/en/tmux/3.2a/reference/c-struct-tty_ctx-redraw_cb/) (attribute)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
- [`tty_ctx.set_client_cb`](/en/tmux/3.2a/reference/c-struct-tty_ctx-set_client_cb/) (attribute)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
