# LibTmux::Client::ClientTarget.find-window

- **Module:** LibTmux::Client
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Client.rakumod#L269
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-client-clienttarget-find-window/

```
method find-window(Str:D $pattern, PaneId:D :$pane!, Bool:D :$content = True,
                       Bool:D :$names = True, Bool:D :$titles = True,
                       Bool:D :$regex = False, Bool:D :$ignore-case = False,
                       Bool:D :$zoom = False, *%operation --> Result:D)
```

Open the native finder using tmux match/FORMAT syntax, not literal substring data.

Open the native finder using tmux match/FORMAT syntax, not literal substring data.

## Parameters

- `$pattern` (`Str:D`)
- `$pane` (`PaneId:D`)
- `$content?` (`Bool:D`)
- `$names?` (`Bool:D`)
- `$titles?` (`Bool:D`)
- `$regex?` (`Bool:D`)
- `$ignore-case?` (`Bool:D`)
- `$zoom?` (`Bool:D`)
- `%operation`

## tmux command

The tmux commands behind `find-window`.

- [`find-window`](/en/tmux/latest/manual/find-window/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_find_window_entry`](/en/tmux/latest/reference/c-variable-cmd_find_window_entry/) (attribute)
- [`cmd_find_window_exec`](/en/tmux/latest/reference/c-function-cmd-find-window-c-cmd_find_window_exec/) (function)
