# LibTmux.Snapshot.lookupWindowId

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/src/LibTmux/Snapshot.hs#L128
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-snapshot-v-lookupwindowid/

```haskell
lookupWindowId
  :: Snapshot -> WindowId -> Either LookupError Window
```

Signature types: [`Snapshot`](/en/haskell/latest/reference/libtmux-snapshot-t-snapshot/), [`WindowId`](/en/haskell/latest/reference/libtmux-id-t-windowid/), [`Either`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Either.html#t:Either), [`LookupError`](/en/haskell/latest/reference/libtmux-snapshot-t-lookuperror/), [`Window`](/en/haskell/latest/reference/libtmux-snapshot-t-window/).

Select the physical window observed under an ID in this snapshot.

## Referenced declarations

- [`LibTmux.Snapshot.LookupError`](/en/haskell/latest/reference/libtmux-snapshot-t-lookuperror/) (data type)
- [`LibTmux.Snapshot.Snapshot`](/en/haskell/latest/reference/libtmux-snapshot-t-snapshot/) (data type)
- [`LibTmux.Snapshot.Window`](/en/haskell/latest/reference/libtmux-snapshot-t-window/) (data type)
- [`LibTmux.Id.WindowId`](/en/haskell/latest/reference/libtmux-id-t-windowid/) (data type)
