# LibTmux::Model::Pane.index

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Fields.rakumod#L78
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-pane-index/

```
method index(--> Count:D)
```

Captured [`pane_index`](/en/tmux/latest/catalog/formats/pane_index/); local uint access.

Captured [`pane_index`](/en/tmux/latest/catalog/formats/pane_index/); local uint access.

## In other ports

A pane's index in its window

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.index`](/en/py/latest/reference/libtmux-pane-index/) (property) |
| Ruby | [`LibTmux::PaneSnapshot#index`](/en/ruby/latest/reference/libtmux-panesnapshot-index/) (method) |
| Lua | [`libtmux.SnapshotPane.index`](/en/lua/latest/reference/libtmux-snapshotpane-index/) (attribute) |
| Elixir | [`LibTmux.Pane.index`](/en/elixir/latest/reference/libtmux-pane-index/) (property) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no accessor; the field is read from `Pane.format`, tmux's own row |
| Rust | [`pane.Pane.index`](/en/rs/latest/reference/pane-pane-index/) (method) |
| Go | [`tmux.Pane.Index`](/en/go/latest/reference/tmux-pane-index/) (method) |
| Java | [`io.github.libtmux.Pane.index`](/en/java/latest/reference/io-github-libtmux-pane-pane-index/) (method) |
| C# | [`LibTmux.Pane.Index`](/en/csharp/latest/reference/libtmux-pane-index/) (property) |
| C++ | [`libtmux::Pane::index`](/en/cxx/latest/reference/libtmux-pane-index-56y3/) (method) |
| Swift | [`Pane.index`](/en/swift/latest/reference/pane-index/) (property) |
| OCaml | [`Libtmux.Pane.index`](/en/ocaml/latest/reference/libtmux-pane-index/) (function) |
| Perl | [`LibTmux::Pane::index`](/en/perl/latest/reference/libtmux-pane-index/) (method). Schema-validated captured data; reading performs no tmux I/O. |

No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.
