# LibTmux.PaneWhere

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/criteria_generated.jl#L94
- **Bases:** [`LibTmux.Criterion`](/en/julia/latest/reference/libtmux-criterion/)
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-panewhere/

```
LibTmux.PaneWhere(clauses::Tuple{Vararg{LibTmux._FieldClause}}, ::Val{:validated})

LibTmux.PaneWhere(;
    id,
    index,
    active,
    dead,
    width,
    height,
    current_command,
    current_path,
    title,
    window
)
```

Match captured `PaneSnapshot` values without I/O. Omitted keywords are unconstrained. Explicit `nothing` requires nullable captured absence. All specified fields and related records are checked for coverage first.

```julia
PaneWhere(; id, index, active, dead, width, height, current_command, current_path, title, window)
```



Keywords:

  * `id` (PaneID): Physical pane identity.
  * `index` (Integer): Pane index within its window; not a Julia collection position.
  * `active` (Bool): Active pane of its window; not client visibility.
  * `dead` (Bool): Whether tmux retains an exited pane.
  * `width` (Integer): Pane width in cells.
  * `height` (Integer): Pane height in cells.
  * `current_command` (String): Command name observed by tmux.
  * `current_path` (String): Path observed on the tmux host; text matching is lexical.
  * `title` (String): Pane title, including literal format-like text.
  * `window` (relation): Physical containing window.

## Methods

### `LibTmux.PaneWhere(clauses::Tuple{Vararg{LibTmux._FieldClause}}, ::Val{:validated})`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/criteria_generated.jl#L116).

### `PaneWhere` (overload 2)

```julia
LibTmux.PaneWhere(;
    id,
    index,
    active,
    dead,
    width,
    height,
    current_command,
    current_path,
    title,
    window
)
```

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/criteria_generated.jl#L118).

## Parameters

- `clauses` (`Tuple{Vararg{LibTmux._FieldClause}}`) (for `PaneWhere(clauses, argument2)`)
- `argument2` (`Base.Val{:validated}`) (for `PaneWhere(clauses, argument2)`)
- `id` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `index` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `active` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `dead` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `width` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `height` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `current_command` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `current_path` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `title` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.
- `window` (for `PaneWhere(id, index, active, dead, width, height, current_command, current_path, title, window)`)
  Default: `_UNCONSTRAINED`.

## Members

### Other members

- `_clauses` (property)
