# LibTmux::Model::Window.layout

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

```
method layout(--> Str:D)
```

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

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

## 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) |
| Lua | [`libtmux.SnapshotWindow.layout`](/en/lua/latest/reference/libtmux-snapshotwindow-layout/) (attribute) |
| Elixir | [`LibTmux.Window.layout`](/en/elixir/latest/reference/libtmux-window-layout/) (property) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| 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` |
| OCaml | [`Libtmux.Window.layout`](/en/ocaml/latest/reference/libtmux-window-layout/) (function) |
| Perl | [`LibTmux::Window::layout`](/en/perl/latest/reference/libtmux-window-layout/) (method). Schema-validated captured data; reading performs no tmux I/O. |

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