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.rotate

Rotate pane positions in the window via $ tmux rotate-window.

Source and package
Qualified name
libtmux.Window.rotate
Module
libtmux
Declared in
Window
Package
libtmux
Source
src/libtmux/window.py
Other languages
PowerShell Julia Ruby Lua TypeScriptRustGoJavaC#C++Swift Kotlin Scala F#
rotate ( self, upward: bool | None = None, downward: bool | None = None, keep_zoom: bool | None = None, ) → Window

Examples#

>>> pane1 = window.active_pane
>>> pane2 = window.split()
>>> window.rotate()
Window(...)
Parameters
Returns

Window Self, for method chaining.

In other ports Rotate panes within a window
Esc

Type to search.

Reference preview Open reference