Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-java latest

Window.layout

tmux's own layout for this window, in whichever form this server writes it.

Source and package
Qualified name
io.github.libtmux.Window.layout
Package
io.github.libtmux
Declared in
Window
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Window.java
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript RustGo C# C++ Swift Kotlin Scala OCaml F# Clojure

Description#

Classic before tmux 3.8 and JSON from it, and the type says which. Hand it back with #applyLayout(WindowLayout).

In other ports#

tmux's own description of a window's layout

Equivalents of tmux's own description of a window's layout in other languages
Language Equivalent
Python libtmux.Window.window_layout
Lua libtmux.SnapshotWindow.layout
Elixir LibTmux.Window.layout
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
Go tmux.Window.Layout
C# no equivalent on Window
C++ libtmux::Window::layout
Swift no equivalent on Window
OCaml Libtmux.Window.layout
Perl LibTmux::Window::layout 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#.

Esc

Type to search.

Reference previewOpen reference