# libtmux.SnapshotWindow.layout

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** attribute
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/fields.lua#L28
- **Inherited from:** libtmux.Fields.Window
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-snapshotwindow-layout/

## In other ports

tmux's own description of a window's layout

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window.window_layout`](/en/py/latest/reference/libtmux-window-window_layout/) (attribute) |
| Elixir | [`LibTmux.Window.layout`](/en/elixir/latest/reference/libtmux-window-layout/) (property) |
| TypeScript | no equivalent on `Window` |
| Rust | [`window.Window.layout`](/en/rs/latest/reference/window-window-layout/) (method) |
| Go | [`tmux.Window.Layout`](/en/go/latest/reference/tmux-window-layout/) (method) |
| Java | [`io.github.libtmux.Window.layout`](/en/java/latest/reference/io-github-libtmux-window-window-layout/) (method) |
| C# | no equivalent on `Window` |
| C++ | [`libtmux::Window::layout`](/en/cxx/latest/reference/libtmux-window-layout-srt0/) (method) |
| Swift | no equivalent on `Window` |

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