# window_mode.key

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tmux.h#L914
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-struct-window_mode-key/

```c
void(*key)(struct window_mode_entry *, struct client *, struct session *, struct winlink *, key_code, struct mouse_event *);
```

## Referenced by

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

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`mouse_event`](/en/tmux/3.2a/reference/c-struct-mouse_event/) (struct)
- [`session`](/en/tmux/3.2a/reference/c-struct-session/) (struct)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
- [`winlink`](/en/tmux/3.2a/reference/c-struct-winlink/) (struct)
