libtmux::Window::layout
- Module
- libtmux
- Declared in
- Window
- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Python Ruby Lua TypeScript RustGoJava .NET Swift
- layout ( ) std::string_view
-
An opaque token: hand it back to
select_layoutexactly as received, and do not parse its shape.tmux 3.8+ reports JSON here for a plain client, and keeps the classic layout string for a control client unless that client has asked tmux for JSON with
refresh-client -f / new-layouts— whichConnection::connectsends on every connection, so control mode through this library gets JSON on 3.8+ too.A version's own
layout()output round-trips through its ownselect_layouton that version; see that method's comment for what "round-trips" promises and what it does not.In other ports tmux's own description of a window's layout
- Python
libtmux.Window.window_layout - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua
libtmux.SnapshotWindow.layout - TypeScript no equivalent on
Window - Rust
window.Window.layout - Go
tmux.Window.Layout - Java
io.github.libtmux.Window.Window.layout - .NET no equivalent on
Window - Swift no equivalent on
Window
- Python
0 declared, 0 inherited