libtmux::Window::next_layout
- Module
- libtmux
- Declared in
- Window
- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Python Ruby Lua TypeScriptRustGoJava.NETSwift
- next_layout ( ) expected< void, CommandFailure >
-
Step through tmux's preset arrangements, and turn the panes within the one in use.
The layouts are tmux's list, not a caller's: asking for "the next one" is the only way to reach them without naming each. Rotating is a different act — it moves which pane occupies which cell and leaves the cells where they are.
None of the three refuses a window holding a single pane. tmux accepts all of them there and changes nothing, which is worth knowing before treating success as evidence that something moved.
In other ports Apply a window's next layout preset
- Python
libtmux.Window.next_layout - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
window.Window.nextLayout - Rust
window.Window.next_layout - Go
tmux.Window.NextLayout - Java
io.github.libtmux.Window.Window.nextLayout - .NET
LibTmux.Window.SelectNextLayoutAsync - Swift
Server.nextLayout(_:)
- Python
0 declared, 0 inherited