# libtmux.SnapshotWindow.id

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/server.lua#L823
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-snapshotwindow-id/

## In other ports

A window's stable tmux id

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window.id`](/en/py/latest/reference/libtmux-window-id/) (property) |
| Ruby | [`LibTmux::WindowSnapshot#id`](/en/ruby/latest/reference/libtmux-windowsnapshot-id/) (method) |
| Elixir | [`LibTmux.Window.id`](/en/elixir/latest/reference/libtmux-window-id/) (property) |
| TypeScript | no accessor; the field is read from `Window.format`, tmux's own row |
| Rust | [`window.Window.id`](/en/rs/latest/reference/window-window-id/) (method) |
| Go | [`tmux.Window.ID`](/en/go/latest/reference/tmux-window-id/) (method) |
| Java | [`io.github.libtmux.Window.id`](/en/java/latest/reference/io-github-libtmux-window-window-id/) (method) |
| C# | [`LibTmux.Window.Id`](/en/csharp/latest/reference/libtmux-window-id/) (property) |
| C++ | [`libtmux::Window::id`](/en/cxx/latest/reference/libtmux-window-id-roem/) (method) |
| Swift | [`Window.id`](/en/swift/latest/reference/window-id/) (property) |

No equivalent is recorded in PowerShell, Julia, Kotlin, Scala or F#.
