# window_pane_find_by_id

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

```c
struct window_pane * window_pane_find_by_id(u_int id)
```

## Parameters

- `id` (`u_int`)

## Called by

- [`cmd_refresh_client_update_offset`](/en/tmux/3.2a/reference/c-function-cmd-refresh-client-c-cmd_refresh_client_update_offset/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-refresh-client.c#L96)
- [`cmd_run_shell_print`](/en/tmux/3.2a/reference/c-function-cmd-run-shell-c-cmd_run_shell_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-run-shell.c#L75)
- [`control_check_subs_pane`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L866)
- [`window_buffer_edit_close_cb`](/en/tmux/3.2a/reference/c-function-window-buffer-c-window_buffer_edit_close_cb/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-buffer.c#L465)
- [`window_pane_find_by_id_str`](/en/tmux/3.2a/reference/c-function-window_pane_find_by_id_str/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L837)
- [`window_pane_input_callback`](/en/tmux/3.2a/reference/c-function-window-c-window_pane_input_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window.c#L1532)
- [`window_tree_pull_item`](/en/tmux/3.2a/reference/c-function-window-tree-c-window_tree_pull_item/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-tree.c#L177)

## Referenced by

- [`cmd_mouse_pane`](/en/tmux/3.2a/reference/c-function-cmd_mouse_pane/) (function)
- [`control_window_pane`](/en/tmux/3.2a/reference/c-function-control-c-control_window_pane/) (function)
- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

- [`all_window_panes`](/en/tmux/3.2a/reference/c-variable-all_window_panes/) (attribute)
- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
