Core Library0.xAPI Reference

Choose documentation 1

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.

class libtmux-raku latest

Model.Window

Captured physical window; session-relative indices belong to WindowLink.

Source and package
Qualified name
LibTmux::Model::Window
Module
LibTmux
Declared in
Model
Package
LibTmux
Source
lib/LibTmux/Model.rakumod
Other languages
Perlclass Erlangstruct PowerShellcmdlet Juliastruct Elixirstruct Haskelldata type Common Lispclass PythonRubyLuaTypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamltypealias F#module Clojurefunction
Anonymous class

Description#

Captured physical window; session-relative indices belong to WindowLink.

Members14#

Collections and queries1#

  • panes method Captured physical panes; relation traversal never acquires newer data.

Common operations7#

Other members6#

Inherited members10 members#

Reached through LibTmux::Model::View.

  • bytes method inherited Exact captured bytes, before strict text conversion or normalization.
  • clone method inherited Copy this captured value without changing its records or acquiring new data.
  • incarnation method inherited Return the captured daemon identity without refreshing it.
  • new method inherited Refuse direct view construction; obtain this value from a Snapshot.
  • ref method inherited Construct a value-only command target without observing current daemon state.
  • relation method inherited Resolve one declared relation locally; incomplete required data raises MissingData.
  • same-entity method inherited Compare scoped entity identity; window links additionally require the same snapshot.
  • snapshot method inherited Return the retained captured graph; it owns no live transport.
  • state method inherited Report availability of a declared field or relation without conflating null and unloaded data.
  • value method inherited Return a decoded local field, Nil for known null, or throw MissingData for unavailable data.

In other ports#

A tmux window

Equivalents of A tmux window in other languages
Language Equivalent
Python libtmux.Window
Ruby LibTmux::Window
Lua libtmux.Window
PowerShell LibTmux\Get-TmuxWindow This cmdlet reads shared .NET LibTmux.Window placements. Use -Server for all sessions or -Session for one session.
Julia LibTmux.WindowSnapshot WindowSnapshot holds captured physical-window data. WindowLink records a placement in a session; actions use WindowRef.
Erlang #tmux_model:window{} A physical window can have several session memberships. window_link holds the session-relative index and active flag.
Elixir LibTmux.Window Window is a physical window. WindowLink records its session index and active state.
Haskell LibTmux.Snapshot.Window Window is a detached physical window, independent of its session placements. WindowLink records each session, index and window binding, and operations take a generation-bound WindowRef.
Common Lisp libtmux:window window is a physical captured window. window-link preserves each session placement.
TypeScript window.Window
Rust window.Window
Go tmux.Window
Java io.github.libtmux.Window
Clojure libtmux.data/windows Traverses captured window-placement maps without I/O; the window value is a map with an explicit Java reference for effects.
Kotlin io.github.libtmux.kotlin.Window
Scala io.github.libtmux.scaladsl.Window
C# LibTmux.Window
F# LibTmux.FSharp.Window This F# module identifies shared .NET LibTmux.Window placements and builds deferred pane queries. Query.list acquires their results from tmux.
C++ libtmux::Window
Swift Window
OCaml Libtmux.Window.t A global window can have several session placements. Window_link holds the session, index and current flag.
Perl LibTmux::Window Physical window identity. WindowLink owns each session/index placement.
Esc

Type to search.

Reference previewOpen reference