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.

Go API

method libtmux-go latest

Pane.WindowID

WindowID returns the underlying stable tmux window identity.

Source and package
Qualified name
tmux.Pane.WindowID
Package
tmux
Declared in
Pane
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/model.go
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLua TypeScript Rust Java C# C++Swift Kotlin Scala OCaml F# Clojure
func (p Pane) WindowID() WindowID

In other ports#

The id of the window holding a pane

Equivalents of The id of the window holding a pane in other languages
Language Equivalent
Python libtmux.Pane.window_id
Ruby LibTmux::PaneSnapshot#window_id
Lua libtmux.SnapshotPane.window_id
Elixir LibTmux.Pane.window_id
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Pane
Rust pane.Pane.window_id
Java no equivalent on Pane
C# no equivalent on Pane
C++ libtmux::Pane::window_id
Swift Pane.windowID
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl Use pane->window->id; the public pane relationship returns the physical Window rather than a separate ID reader.

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

Esc

Type to search.

Reference previewOpen reference