# window_pane_set_event

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1180
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window_pane_set_event/

```c
void window_pane_set_event(struct window_pane *wp)
```

## Parameters

- `wp` (`struct window_pane *`)

## Called by

- [`popup_make_pane`](/en/tmux/3.7c/reference/c-function-popup-c-popup_make_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L449)
- [`spawn_pane`](/en/tmux/3.7c/reference/c-function-spawn_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/spawn.c#L503)

## Calls

- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1187)
- [`input_init`](/en/tmux/3.7c/reference/c-function-input_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1188)
- [`setblocking`](/en/tmux/3.7c/reference/c-function-setblocking/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L1182)

## Other function references

- [`window_pane_error_callback`](/en/tmux/3.7c/reference/c-function-window-c-window_pane_error_callback/) (function)
- [`window_pane_read_callback`](/en/tmux/3.7c/reference/c-function-window-c-window_pane_read_callback/) (function)

## Referenced declarations

- [`window_pane.event`](/en/tmux/3.7c/reference/c-struct-window_pane-event/) (attribute)
- [`window_pane.fd`](/en/tmux/3.7c/reference/c-struct-window_pane-fd/) (attribute)
- [`window_pane.ictx`](/en/tmux/3.7c/reference/c-struct-window_pane-ictx/) (attribute)
- [`window_pane.palette`](/en/tmux/3.7c/reference/c-struct-window_pane-palette/) (attribute)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
