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

WindowLink.session

Behavior: Live handles.

Source and package
Qualified name
LibTmux::WindowLink#session
Module
LibTmux
Declared in
WindowLink
Package
libtmux
Source
gems/libtmux/lib/libtmux/entity.rb
Other languages
Perlmethod Rakumethod Erlang PowerShell Julia Elixir Haskell Common Lisp PythonLuaTypeScriptRustGoJavaC#C++ Swift KotlinScalaOCamlfunction F# Clojure
def session: () -> ::LibTmux::Session

Description#

Behavior contract: Live handles.

In other ports#

Find the session containing a window placement

Equivalents of Find the session containing a window placement in other languages
Language Equivalent
Python libtmux.Window.session
Lua libtmux.SnapshotWindowLink.session
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript window.Window.session
Rust window.Window.session
Go tmux.Window.Session
Java io.github.libtmux.Window.session
Kotlin io.github.libtmux.kotlin.Window.session
Scala io.github.libtmux.scaladsl.Window.session
C# LibTmux.Window.Session
C++ libtmux::Window::session
Swift a Window has no single parent; Snapshot.sessions(of:) lists every linking session
OCaml Libtmux.Window_link.session The session belongs to a placement. A global Window has no single containing session.
Perl LibTmux::WindowLink::session The session belongs to an explicit WindowLink placement; a physical Window has no arbitrary single session.
Raku LibTmux::Model::WindowLink.session The session belongs to a link, not to the physical Window.

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

Esc

Type to search.

Reference previewOpen reference