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.

method libtmux-go latest

Window.ActivePane

ActivePane returns the first active pane in this materialized winlink view. It never queries tmux; use Window.ResolveActivePane for live state.

Source and package
Qualified name
tmux.Window.ActivePane
Package
tmux
Declared in
Window
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/relations.go
Other languages
Perlmethod Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScriptRustJavaC#C++ Swift Kotlin Scala OCaml F# Clojure
func (w Window) ActivePane() (Pane, bool)

Guides#

Pages that discuss ActivePane.

In other ports#

The window's active pane

Equivalents of The window's active pane in other languages
Language Equivalent
Python libtmux.Window.active_pane
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript window.Window.activePane
Rust window.Window.active_pane
Java io.github.libtmux.Window.activePane
C# LibTmux.Window.ActivePane
C++ libtmux::Window::active_pane
Swift no accessor; Pane.isActive is a flag on the pane, so the active one is found by filtering a listing
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl LibTmux::Window::active_pane Local captured relation. Unknown membership cannot prove that no pane is active.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference