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.

property libtmux latest

Session.panes

Panes contained by session's windows.

Source and package
Qualified name
libtmux.Session.panes
Module
libtmux
Declared in
Session
Package
libtmux
Source
src/libtmux/session.py
Other languages
Perl Erlang PowerShellcmdlet Julia Elixir Haskell Common Lispfunction Ruby Lua TypeScriptRustGo Java C#C++Swift Kotlin Scala OCaml F#function Clojure
panes (self) → QueryList[Pane]

Description#

Can be accessed via .panes.get() and .panes.filter()

tmux command#

The tmux commands behind panes.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss panes.

In other ports#

List a session's panes

Equivalents of List a session's panes in other languages
Language Equivalent
Ruby LibTmux::Session#list_panes
PowerShell LibTmux\Get-TmuxPane Use the -Session parameter set to acquire panes across that session’s windows.
Julia Traverse windows(session) and panes(window) in the captured snapshot. panes(snapshot) has server-wide scope.
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
Common Lisp libtmux:panes panes traverses captured observations; applying it to a session returns panes reachable through its retained links.
TypeScript session.Session.panes
Rust session.Session.panes
Go tmux.Session.Panes
Java no direct accessor; traverse Session.windows and Window.panes
C# LibTmux.Session.Panes
F# LibTmux.FSharp.Session.panes Builds a deferred pane query from one LibTmux.Session and its server. Query.list acquires panes across that session’s windows.
C++ libtmux::Session::panes
Swift Snapshot.panes(of:)
OCaml Traverse Session.windows and Window.panes in the captured graph. Snapshot.panes has server-wide scope.
Perl Traverse the session’s window links and physical windows; choose explicitly whether repeated linked panes should repeat.

No equivalent is recorded in Lua, Erlang, Elixir, Clojure, Kotlin or Scala.

Esc

Type to search.

Reference previewOpen reference