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.

class libtmux-ruby latest

Window

Base types LibTmux::Entity
Source and package
Qualified name
LibTmux::Window
Module
LibTmux
Package
libtmux
Source
gems/libtmux/lib/libtmux/entity.rb
Other languages
Perlclass Erlangstruct PowerShellcmdlet Juliastruct Elixirstruct Haskell Common Lispclass PythonLuaTypeScriptRustGoJavaC#C++SwiftKotlinScalaOCamltypealias F#module Clojurefunction
class LibTmux::Window

Members18#

Parent objects1#

  • server method Returns the value of attribute server.

Collections and queries1#

Common operations9#

  • select_layout method Behavior: Entity mutation.
  • kill method Behavior: Entity removal.
  • rename method Behavior: Entity mutation.
  • split method Behavior: Creation.
  • options method Behavior: Options and hooks.
  • resize method Behavior: Entity mutation.
  • hooks method Behavior: Options and hooks.
  • respawn method Behavior: Entity mutation.
  • snapshot method Behavior: Snapshot acquisition.

Other members7#

  • == method Behavior: Live handles.
  • display method Behavior: Formats.
  • eql? method Behavior: Live handles.
  • hash method Behavior: Live handles.
  • id method Behavior: Live handles.
  • inspect method Behavior: Live handles.
  • ref method Returns the value of attribute ref.

Guides#

Pages that discuss Window.

In other ports#

A tmux window

Equivalents of A tmux window in other languages
Language Equivalent
Python 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 No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
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