# LibTmux.Window.layout

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/entities.ex
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-window-layout/

```elixir
LibTmux.Window.layout: LibTmux.Schema.observed(String.t()) = :unloaded
```

## Guides

Pages that discuss `layout`.

- [Observation and filter schema](/en/elixir/pr-173/topics/schema/)

## In other ports

tmux's own description of a window's layout

| Port | API | Differs from Elixir |
| --- | --- | --- |
| Elixir | `LibTmux.Window.layout` | This page |
| Python | [`libtmux.Window.window_layout`](/en/py/latest/reference/libtmux-window-window_layout/) (attribute) | None recorded in the model |
| Lua | [`libtmux.SnapshotWindow.layout`](/en/lua/latest/reference/libtmux-snapshotwindow-layout/) (attribute) | None recorded in the model |
| Rust | [`window.Window.layout`](/en/rs/latest/reference/window-window-layout/) (method). Return the window's pane layout string. | None recorded in the model |
| Go | [`tmux.Window.Layout`](/en/go/latest/reference/tmux-window-layout/) (method). Layout returns tmux #{window_layout} as string from this Window's materialized window-scoped fields. | None recorded in the model |
| Java | [`io.github.libtmux.Window.layout`](/en/java/latest/reference/io-github-libtmux-window-window-layout/) (method). tmux's own layout for this window, in whichever form this server writes it. | None recorded in the model |
| C++ | [`libtmux::Window::layout`](/en/cxx/latest/reference/libtmux-window-layout-srt0/) (method). An opaque token: hand it back to select_layout exactly as received, and do not parse its shape. | readonly |
| OCaml | [`Libtmux.Window.layout`](/en/ocaml/latest/reference/libtmux-window-layout/) (function) | None recorded in the model |
| Perl | [`LibTmux::Window::layout`](/en/perl/latest/reference/libtmux-window-layout/) (method). string. Local captured data; no I/O. | Schema-validated captured data; reading performs no tmux I/O. |
| Raku | [`LibTmux::Model::Window.layout`](/en/raku/latest/reference/libtmux-model-window-layout/) (method). Captured window_layout; local text access. | None recorded in the model |

No Haskell equivalent. No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent. no equivalent on `Window`

No C# equivalent. no equivalent on `Window`

No Swift equivalent. no equivalent on `Window`

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