Client.select_layout
Apply a preset or validated custom layout to the window. Pane geometry follows tmux layout rules; capture again to observe the result.
Source and package
- Qualified name
-
Libtmux_eio .Client. select _layout - Module
- Libtmux_eio
- Declared in
Client- Package
- libtmux-eio
- Source
- eio/libtmux_eio.mli
- Other languages
- Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC#C++Swift Kotlin Scala F# Clojure
- val select_layout : t -> Libtmux
.Window -> Libtmux.target .Layout -> (unit, Libtmux.t .Error ) result.t -
Public owner:
Libtmux_eio- Parameters
-
tmux command#
The tmux commands behind select_layout.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Set a window's pane layout
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.