# LibTmux::Layout::LayoutNode

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Layout.rakumod#L14
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-layout-layoutnode/

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

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

## Members

### Collections and queries

- [`panes`](/en/raku/latest/reference/libtmux-layout-layoutnode-panes/) (method): All leaf cells, retaining source order including floating leaves.

### Other members

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