# window_find_string

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

```c
struct window_pane * window_find_string(struct window *w, const char *s)
```

## Parameters

- `w` (`struct window *`)
- `s` (`const char *`)

## Called by

- [`cmd_find_get_pane_with_window`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_pane_with_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-find.c#L635)

## Calls

- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L689)
- [`window_get_active_at`](/en/tmux/3.7c/reference/c-function-window_get_active_at/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window.c#L718)

## Referenced declarations

- [`window.options`](/en/tmux/3.7c/reference/c-struct-window-options/) (attribute)
- [`PANE_STATUS_BOTTOM`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_status_bottom/) (constant)
- [`PANE_STATUS_TOP`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_status_top/) (constant)
- [`window_pane.status`](/en/tmux/3.7c/reference/c-struct-window_pane-status/) (attribute)
- [`window.sx`](/en/tmux/3.7c/reference/c-struct-window-sx/) (attribute)
- [`window.sy`](/en/tmux/3.7c/reference/c-struct-window-sy/) (attribute)
- [`window`](/en/tmux/3.7c/reference/c-struct-window/) (struct)
- [`window_pane`](/en/tmux/3.7c/reference/c-struct-window_pane/) (struct)
