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

Window.session_id

The link to the parent, carried in the row so traversal upward costs nothing until the parent itself is wanted.

Source and package
Qualified name
libtmux::Window::session_id
Namespace
libtmux
Declared in
Window
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua 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]] SessionId session_id() const noexcept;

In other ports#

The id of the session a window was reached through

Equivalents of The id of the session a window was reached through in other languages
Language Equivalent
Python libtmux.Window.session_id
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript no equivalent on Window
Rust window.Window.session_id
Go tmux.Window.SessionID
Java no equivalent on Window
C# no equivalent on Window
Swift no equivalent on Window
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl Use link->session->id; physical Window identity is separate from session placement.

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