Window.Index
Gets the index this window holds in its session.
Source and package
- Qualified name
-
LibTmux .Window. Index - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.State.cs
In other ports
task equivalence 10 other ports mappedSource-verified mappings for A window's index in its session. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Gets the index this window holds in its session. | This page |
| Python | libtmux Alias of Window.window_index. | None recorded in the model |
| Ruby | Lib Behavior: Captured records. | None recorded in the model |
| Elixir | Lib | The index belongs to the session placement, WindowLink, not to the physical window. |
| Rust | window Return the window's index within Window::session_id. | None recorded in the model |
| Go | tmux Index returns this window's index in its linked session. It returns -1 for a partial Window whose exact winlink has not been materialized. | None recorded in the model |
| Java | io Where this link sits in its session. | None recorded in the model |
| C++ | libtmux:: Position within its session, which base-index is free to start anywhere. | readonly |
| OCaml | Libtmux | None recorded in the model |
| Perl | Lib integer. Local captured data; no I/O. | Captured session-relative placement data; this is not a property of the physical window. |
| Raku | Lib Captured window_index; local uint access. | None recorded in the model |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no accessor; the field is read from Window.format, tmux's own row
no equivalent on Window
No equivalent is recorded in Lua, PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.