Model.Window
Captured physical window; session-relative indices belong to WindowLink.
Base types LibTmux::Model::View
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
-
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#
- id method Captured
window_id; local window-id access. - name method Captured
window_name; local text access. - height method Captured
window_height; local uint access. - width method Captured
window_width; local uint access. - layout method Captured
window_layout; local text access. - active-pane method The physical window's observed active pane.
- linked method Captured
window_linked; local bool access.
Other members6#
- decoded-layout method Decode retained layout bytes locally, preserving unknown layout versions.
- links method All captured placements of this physical window, preserving repeated associations.
- modal-pane-id method Captured
window_modal_pane; local pane-id access. - panes-count method Captured
window_panes; local uint access. - visible-layout method Captured
window_visible_layout; local text access. - zoomed method Captured
window_zoomed_flag; local bool access.
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
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| PowerShell | Lib This cmdlet reads shared .NET LibTmux.Window placements. Use -Server for all sessions or -Session for one session. |
| Julia | Lib WindowSnapshot holds captured physical-window data. WindowLink records a placement in a session; actions use WindowRef. |
| Erlang | #tmux A physical window can have several session memberships. window_link holds the session-relative index and active flag. |
| Elixir | Lib Window is a physical window. WindowLink records its session index and active state. |
| Haskell | Lib 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 is a physical captured window. window-link preserves each session placement. |
| TypeScript | window |
| Rust | window |
| Go | tmux |
| Java | io |
| Clojure | libtmux Traverses captured window-placement maps without I/O; the window value is a map with an explicit Java reference for effects. |
| Kotlin | io |
| Scala | io |
| C# | Lib |
| F# | Lib This F# module identifies shared .NET LibTmux.Window placements and builds deferred pane queries. Query.list acquires their results from tmux. |
| C++ | libtmux:: |
| Swift | Window |
| OCaml | Libtmux A global window can have several session placements. Window_link holds the session, index and current flag. |
| Perl | Lib Physical window identity. WindowLink owns each session/index placement. |