Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Python API

method libtmux stable

Window.next_layout

Cycle to the next layout via $ tmux next-layout.

Source and package
Qualified name
libtmux.Window.next_layout
Module
libtmux
Declared in
Window
Package
libtmux
Source
src/libtmux/window.py
Other languages
PowerShell Julia Ruby Lua TypeScriptRustGoJavaC#C++Swift Kotlin Scala F#
next_layout (self) → Window

Description#

>>> pane1 = window.active_pane
>>> pane2 = window.split()
>>> window.next_layout()
Window(...)

tmux command next-layout

In other ports Apply a window's next layout preset
Esc

Type to search.

Reference preview Open reference