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-rs latest

Window.session_id

Return the session this handle reached the window through.

Source and package
Qualified name
libtmux::window::Window::session_id
Module
window
Declared in
Window
Package
libtmux
Source
crates/libtmux/src/window.rs
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript Go Java C# C++ Swift Kotlin Scala OCaml F# Clojure
#[must_use] pub const fn session_id(&self) -> &SessionId

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
Go tmux.Window.SessionID
Java no equivalent on Window
C# no equivalent on Window
C++ libtmux::Window::session_id
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