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.WindowRef

Value-only command target for a physical window, independent of its links.

Source and package
Qualified name
LibTmux::Model::WindowRef
Module
LibTmux
Declared in
Model
Package
LibTmux
Source
lib/LibTmux/Model.rakumod
Anonymous class

Description#

Value-only command target for a physical window, independent of its links.

Members18#

Common operations12#

  • select-layout method Select a named layout. Serialized layouts use restore-layout instead.
  • kill method Destroy the addressed entity; retained observations remain unchanged.
  • rename method Store the exact name; refuse characters or separators the daemon would change.
  • link method Add a destination placement. tmux synchronizes placements across session groups.
  • resize method Set absolute dimensions or adjust one direction; these forms cannot be mixed.
  • rotate method Rotate panes in the layout; reverse changes the rotation direction.
  • respawn method Restart the target's process; kill must be explicit when replacing a running process.
  • next-layout method Apply the next tmux layout to this physical window.
  • inspect method Acquire a fresh graph and require exactly one observed entity with this ID.
  • previous-layout method Apply the previous tmux layout to this physical window.
  • last-pane method Select the previous active pane in this physical window.
  • command method A bounded, identity-guarded explicit command. Arguments keep tmux semantics.

Other members6#

  • entity method Return the registered entity schema without I/O.
  • hooks method Construct a value-only hook facade; its reads and writes are explicit operations.
  • options method Construct a value-only option facade scoped to this captured identity.
  • restore-layout method Validate and apply serialized layout bytes in the daemon's declared dialect.
  • same-entity method Compare scoped identity without acquiring current state.
  • spread-layout method Distribute space evenly around the active pane using select-layout -E.
Esc

Type to search.

Reference previewOpen reference