# LibTmux.Value.WindowIndex

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** data type
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/581f0ee45016ffb2283366bb1edc1658df26c5ed/src/LibTmux/Value.hs#L41
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-value-t-windowindex/

```haskell
data WindowIndex
```

Nonnegative index of a window link within a session, not a physical window ID.
 Construct with [`mkWindowIndex`](/en/haskell/latest/reference/libtmux-value-v-mkwindowindex/); read with [`windowIndexValue`](/en/haskell/latest/reference/libtmux-value-v-windowindexvalue/).

## Instances

- instance [NFData](https://hackage.haskell.org/package/deepseq-1.5.1.0/docs/Control-DeepSeq.html#t:NFData) [`WindowIndex`](/en/haskell/latest/reference/libtmux-value-t-windowindex/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/581f0ee45016ffb2283366bb1edc1658df26c5ed/src/LibTmux/Value.hs#L43))

- instance [Eq](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Eq.html#t:Eq) [`WindowIndex`](/en/haskell/latest/reference/libtmux-value-t-windowindex/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/581f0ee45016ffb2283366bb1edc1658df26c5ed/src/LibTmux/Value.hs#L42))

- instance [Ord](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Ord.html#t:Ord) [`WindowIndex`](/en/haskell/latest/reference/libtmux-value-t-windowindex/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/581f0ee45016ffb2283366bb1edc1658df26c5ed/src/LibTmux/Value.hs#L42))

- instance [Show](https://hackage.haskell.org/package/base-4.22.0.0/docs/Prelude.html#t:Show) [`WindowIndex`](/en/haskell/latest/reference/libtmux-value-t-windowindex/) ([Source](https://github.com/libtmux/libtmux-haskell/blob/581f0ee45016ffb2283366bb1edc1658df26c5ed/src/LibTmux/Value.hs#L42))

## Referenced declarations

- [`LibTmux.Value.WindowIndex`](/en/haskell/latest/reference/libtmux-value-t-windowindex/) (data type)
