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-rs latest

Window.layout

Return the window's pane layout string.

Source and package
Qualified name
libtmux::window::Window::layout
Module
window
Declared in
Window
Package
libtmux
Source
crates/libtmux/src/window.rs
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript GoJava C# C++ Swift Kotlin Scala OCaml F# Clojure
#[must_use] pub fn layout(&self) -> &TmuxText

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
Go tmux.Window.Layout
Java io.github.libtmux.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