# menu_mode_cb

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

```c
struct screen * menu_mode_cb(struct client *c, void *data, u_int *cx, u_int *cy)
```

## Parameters

- `c` (`struct client *`)
- `data` (`void *`)
- `cx` (`u_int *`)
- `cy` (`u_int *`)

## Called by

- [`popup_mode_cb`](/en/tmux/latest/reference/c-function-popup-c-popup_mode_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L223)

## Referenced by

- [`menu_display`](/en/tmux/latest/reference/c-function-menu_display/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`menu_data.choice`](/en/tmux/latest/reference/c-struct-menu_data-choice/) (attribute)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`menu_data.data`](/en/tmux/latest/reference/c-struct-menu_data-data/) (attribute)
- [`menu_data.px`](/en/tmux/latest/reference/c-struct-menu_data-px/) (attribute)
- [`menu_data.py`](/en/tmux/latest/reference/c-struct-menu_data-py/) (attribute)
- [`menu_data.s`](/en/tmux/latest/reference/c-struct-menu_data-s/) (attribute)
- [`screen`](/en/tmux/latest/reference/c-struct-screen/) (struct)
