# LibTmux.Pane.width

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/entities.ex
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-pane-width/

```elixir
LibTmux.Pane.width: LibTmux.Schema.observed(non_neg_integer()) = :unloaded
```

## In other ports

A pane's width in cells

| Port | API | Differs from Elixir |
| --- | --- | --- |
| Elixir | `LibTmux.Pane.width` | This page |
| Python | [`libtmux.Pane.width`](/en/py/latest/reference/libtmux-pane-width/) (property). Alias of Pane.pane_width. | None recorded in the model |
| Ruby | [`LibTmux::PaneSnapshot#width`](/en/ruby/latest/reference/libtmux-panesnapshot-width/) (method). Behavior: Captured records. | None recorded in the model |
| Lua | [`libtmux.SnapshotPane.width`](/en/lua/latest/reference/libtmux-snapshotpane-width/) (attribute) | None recorded in the model |
| Rust | [`pane.Pane.width`](/en/rs/latest/reference/pane-pane-width/) (method). Return the pane width in cells. | None recorded in the model |
| Go | [`tmux.Pane.Width`](/en/go/latest/reference/tmux-pane-width/) (method). Width returns tmux #{pane_width} as int from this Pane's materialized pane-scoped fields. | None recorded in the model |
| C# | [`LibTmux.Pane.Width`](/en/csharp/latest/reference/libtmux-pane-width/) (property). Gets the pane width captured with this handle. | None recorded in the model |
| C++ | [`libtmux::Pane::width`](/en/cxx/latest/reference/libtmux-pane-width-ojiw/) (method) | readonly |
| Swift | [`Pane.width`](/en/swift/latest/reference/pane-width/) (property). The width tmux is drawing this pane at, in cells. | None recorded in the model |
| OCaml | [`Libtmux.Pane.width`](/en/ocaml/latest/reference/libtmux-pane-width/) (function) | None recorded in the model |
| Perl | [`LibTmux::Pane::width`](/en/perl/latest/reference/libtmux-pane-width/) (method). integer. Local captured data; no I/O. | Schema-validated captured data; reading performs no tmux I/O. |
| Raku | [`LibTmux::Model::Pane.width`](/en/raku/latest/reference/libtmux-model-pane-width/) (method). Captured pane_width; local uint access. | None recorded in the model |

No Haskell equivalent. No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent. no accessor; the field is read from `Pane.format`, tmux's own row

No Java equivalent. no equivalent on `Pane`

No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.
