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

Layout.LayoutNode

An immutable observed layout cell; floating leaves need not tile their parent.

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

Description#

An immutable observed layout cell; floating leaves need not tile their parent.

Members15#

Collections and queries1#

  • panes method All leaf cells, retaining source order including floating leaves.

Other members14#

  • active: Bool property Optional active-pane flag from the modern layout representation.
  • children: List:D property Captured child cells in source order, including floating placements.
  • clone method Retain parsed cell invariants when using native no-argument cloning.
  • floating method The JSON dialect carries floating placement through an explicit z-index.
  • height: Positive:D property Cell height in terminal rows.
  • index: Int property Optional pane index carried by the modern layout representation.
  • kind: Str:D property Pane leaf or horizontal/vertical container kind in the decoded layout.
  • last: Int property Optional index in the previously visited panes list.
  • new method Refuse direct cell construction; obtain validated cells through decode-layout.
  • pane-id: PaneId property Leaf pane identity; undefined for a container.
  • width: Positive:D property Cell width in terminal columns.
  • x: Int:D property Horizontal cell offset in terminal columns.
  • y: Int:D property Vertical cell offset in terminal rows.
  • z: Int property Optional floating-pane stacking index; undefined for tiled cells.
Esc

Type to search.

Reference previewOpen reference