Core LibraryalphaAPI 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-cxx latest

Pane.window_id

Source and package
Qualified name
libtmux::Pane::window_id
Namespace
libtmux
Declared in
Pane
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLua TypeScript RustGo Java C# Swift Kotlin Scala OCaml F# Clojure
[[C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.Language documentation]] WindowId window_id() const noexcept;

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
Go tmux.Pane.WindowID
Java no equivalent on Pane
C# no equivalent on Pane
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