# LibTmux::Model::Pane

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Model.rakumod#L942
- **Bases:** [`LibTmux::Model::View`](/en/raku/latest/reference/libtmux-model-view/)
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-pane/

Captured pane fields and its local physical-window relationship.

Captured pane fields and its local physical-window relationship.

## Members

### Parent objects

- [`window`](/en/raku/latest/reference/libtmux-model-pane-window/) (method): The observed physical window, resolved without I/O.

### Common operations

- [`id`](/en/raku/latest/reference/libtmux-model-pane-id/) (method): Captured ` pane_id `; local pane-id access.
- [`index`](/en/raku/latest/reference/libtmux-model-pane-index/) (method): Captured ` pane_index `; local uint access.
- [`height`](/en/raku/latest/reference/libtmux-model-pane-height/) (method): Captured ` pane_height `; local uint access.
- [`width`](/en/raku/latest/reference/libtmux-model-pane-width/) (method): Captured ` pane_width `; local uint access.
- [`title`](/en/raku/latest/reference/libtmux-model-pane-title/) (method): Captured ` pane_title `; local text access.
- [`active`](/en/raku/latest/reference/libtmux-model-pane-active/) (method): Captured ` pane_active `; local bool access.
- [`current-command`](/en/raku/latest/reference/libtmux-model-pane-current-command/) (method): Captured ` pane_current_command `; local text access.
- [`current-path`](/en/raku/latest/reference/libtmux-model-pane-current-path/) (method): Captured ` pane_current_path `; local text access.
- [`pid`](/en/raku/latest/reference/libtmux-model-pane-pid/) (method): Captured ` pane_pid `; local uint access.
- [`window-id`](/en/raku/latest/reference/libtmux-model-pane-window-id/) (method): Captured ` window_id `; local window-id access.
- [`dead`](/en/raku/latest/reference/libtmux-model-pane-dead/) (method): Captured ` pane_dead `; local bool access.
- [`tty`](/en/raku/latest/reference/libtmux-model-pane-tty/) (method): Captured ` pane_tty `; local text access.
- [`in-mode`](/en/raku/latest/reference/libtmux-model-pane-in-mode/) (method): Captured ` pane_in_mode `; local uint access.

### Other members

- [`at-bottom`](/en/raku/latest/reference/libtmux-model-pane-at-bottom/) (method): Captured ` pane_at_bottom `; local bool access.
- [`at-left`](/en/raku/latest/reference/libtmux-model-pane-at-left/) (method): Captured ` pane_at_left `; local bool access.
- [`at-right`](/en/raku/latest/reference/libtmux-model-pane-at-right/) (method): Captured ` pane_at_right `; local bool access.
- [`at-top`](/en/raku/latest/reference/libtmux-model-pane-at-top/) (method): Captured ` pane_at_top `; local bool access.
- [`command-running`](/en/raku/latest/reference/libtmux-model-pane-command-running/) (method): Captured ` pane_command_running `; local bool access.
- [`command-status`](/en/raku/latest/reference/libtmux-model-pane-command-status/) (method): Captured ` pane_command_status `; local int access.
- [`dead-signal`](/en/raku/latest/reference/libtmux-model-pane-dead-signal/) (method): Captured ` pane_dead_signal `; local text access.
- [`dead-status`](/en/raku/latest/reference/libtmux-model-pane-dead-status/) (method): Captured ` pane_dead_status `; local uint access.
- [`dead-time`](/en/raku/latest/reference/libtmux-model-pane-dead-time/) (method): Captured ` pane_dead_time `; local uint access.
- [`floating`](/en/raku/latest/reference/libtmux-model-pane-floating/) (method): Captured ` pane_floating_flag `; local bool access.
- [`left`](/en/raku/latest/reference/libtmux-model-pane-left/) (method): Captured ` pane_left `; local uint access.
- [`modal`](/en/raku/latest/reference/libtmux-model-pane-modal/) (method): Captured ` pane_modal_flag `; local bool access.
- [`mode`](/en/raku/latest/reference/libtmux-model-pane-mode/) (method): Captured ` pane_mode `; local text access.
- [`pipe`](/en/raku/latest/reference/libtmux-model-pane-pipe/) (method): Captured ` pane_pipe `; local bool access.
- [`start-command`](/en/raku/latest/reference/libtmux-model-pane-start-command/) (method): Captured ` pane_start_command `; local text access.
- [`start-path`](/en/raku/latest/reference/libtmux-model-pane-start-path/) (method): Captured ` pane_start_path `; local text access.
- [`synchronized`](/en/raku/latest/reference/libtmux-model-pane-synchronized/) (method): Captured ` pane_synchronized `; local bool access.
- [`top`](/en/raku/latest/reference/libtmux-model-pane-top/) (method): Captured ` pane_top `; local uint access.
- [`x`](/en/raku/latest/reference/libtmux-model-pane-x/) (method): Captured ` pane_x `; local int access.
- [`y`](/en/raku/latest/reference/libtmux-model-pane-y/) (method): Captured ` pane_y `; local int access.
- [`z`](/en/raku/latest/reference/libtmux-model-pane-z/) (method): Captured ` pane_z `; local uint access.

## Inherited members

- [`bytes`](/en/raku/latest/reference/libtmux-model-pane-bytes/) (method), inherited from `LibTmux::Model::View`: Exact captured bytes, before strict text conversion or normalization.
- [`clone`](/en/raku/latest/reference/libtmux-model-pane-clone/) (method), inherited from `LibTmux::Model::View`: Copy this captured value without changing its records or acquiring new data.
- [`incarnation`](/en/raku/latest/reference/libtmux-model-pane-incarnation/) (method), inherited from `LibTmux::Model::View`: Return the captured daemon identity without refreshing it.
- [`new`](/en/raku/latest/reference/libtmux-model-pane-new/) (method), inherited from `LibTmux::Model::View`: Refuse direct view construction; obtain this value from a Snapshot.
- [`ref`](/en/raku/latest/reference/libtmux-model-pane-ref/) (method), inherited from `LibTmux::Model::View`: Construct a value-only command target without observing current daemon state.
- [`relation`](/en/raku/latest/reference/libtmux-model-pane-relation/) (method), inherited from `LibTmux::Model::View`: Resolve one declared relation locally; incomplete required data raises MissingData.
- [`same-entity`](/en/raku/latest/reference/libtmux-model-pane-same-entity/) (method), inherited from `LibTmux::Model::View`: Compare scoped entity identity; window links additionally require the same snapshot.
- [`snapshot`](/en/raku/latest/reference/libtmux-model-pane-snapshot/) (method), inherited from `LibTmux::Model::View`: Return the retained captured graph; it owns no live transport.
- [`state`](/en/raku/latest/reference/libtmux-model-pane-state/) (method), inherited from `LibTmux::Model::View`: Report availability of a declared field or relation without conflating null and unloaded data.
- [`value`](/en/raku/latest/reference/libtmux-model-pane-value/) (method), inherited from `LibTmux::Model::View`: Return a decoded local field, Nil for known null, or throw MissingData for unavailable data.

## In other ports

A tmux pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane`](/en/py/latest/reference/libtmux-pane/) (class) |
| Ruby | [`LibTmux::Pane`](/en/ruby/latest/reference/libtmux-pane-14z6/) (class) |
| Lua | [`libtmux.Pane`](/en/lua/latest/reference/libtmux-pane/) (class) |
| PowerShell | [`LibTmux\Get-TmuxPane`](/en/powershell/latest/reference/libtmux-get-tmuxpane/) (cmdlet). This cmdlet reads shared .NET `LibTmux.Pane` objects. Its [`-Server`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Server), [`-Session`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Session), and [`-Window`](/en/powershell/latest/reference/libtmux-get-tmuxpane/#LibTmux%5CGet-TmuxPane.parameter.Window) parameter sets select the scope. |
| Julia | [`LibTmux.PaneSnapshot`](/en/julia/latest/reference/libtmux-panesnapshot/) (struct). `PaneSnapshot` holds captured pane data. Actions use its `PaneRef`; `PaneOccurrence` adds a window placement in a session. |
| Erlang | [`#tmux_model:pane{}`](/en/erlang/latest/reference/tmux_model-pane/) (struct) |
| Elixir | [`LibTmux.Pane`](/en/elixir/latest/reference/libtmux-pane/) (struct). `Pane` is an immutable physical pane observation. It does not send keys or capture text. |
| Haskell | [`LibTmux.Snapshot.Pane`](/en/haskell/latest/reference/libtmux-snapshot-t-pane/) (data-type). `Pane` is a detached physical pane. `PaneOccurrence` keeps the window placement it was seen in, and operations take a generation-bound `PaneRef`. |
| Common Lisp | [`libtmux:pane`](/en/lisp/latest/reference/libtmux-pane/) (class). `pane` is an immutable captured physical pane. |
| TypeScript | [`pane.Pane`](/en/ts/latest/reference/pane-pane/) (class) |
| Rust | [`pane.Pane`](/en/rs/latest/reference/pane-pane/) (struct) |
| Go | [`tmux.Pane`](/en/go/latest/reference/tmux-pane/) (struct) |
| Java | [`io.github.libtmux.Pane`](/en/java/latest/reference/io-github-libtmux-pane-pane/) (class) |
| Clojure | [`libtmux.data/panes`](/en/clojure/latest/reference/libtmux-data-panes/) (function). Traverses captured pane maps without I/O. Use keyword lookup for scalar observations and the preserved :tmux/ref for effects. |
| Kotlin | [`io.github.libtmux.kotlin.Pane`](/en/kotlin/latest/reference/io-github-libtmux-kotlin-pane/) (class) |
| Scala | [`io.github.libtmux.scaladsl.Pane`](/en/scala/latest/reference/io-github-libtmux-scaladsl-pane/) (typealias) |
| C# | [`LibTmux.Pane`](/en/csharp/latest/reference/libtmux-pane/) (class) |
| F# | [`LibTmux.FSharp.Pane`](/en/fsharp/latest/reference/libtmux-fsharp-pane/) (module). This F# module reads captured fields and starts explicit operations on the shared .NET `LibTmux.Pane` type. |
| C++ | [`libtmux::Pane`](/en/cxx/latest/reference/libtmux-pane/) (class) |
| Swift | [`Pane`](/en/swift/latest/reference/pane/) (struct) |
| OCaml | [`Libtmux.Pane.t`](/en/ocaml/latest/reference/libtmux-pane-t/) (typealias) |
| Perl | [`LibTmux::Pane`](/en/perl/latest/reference/libtmux-pane/) (class). A physical pane retains its captured graph, without retaining transport. |
