# window_mode.init

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

```c
struct screen *(*init)(struct window_mode_entry *, struct cmd_find_state *, struct args *);
```

## Referenced by

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

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`cmd_find_state`](/en/tmux/3.2a/reference/c-struct-cmd_find_state/) (struct)
- [`screen`](/en/tmux/3.2a/reference/c-struct-screen/) (struct)
- [`window_mode_entry`](/en/tmux/3.2a/reference/c-struct-window_mode_entry/) (struct)
