# LibTmux::PaneSnapshot#width

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/d8ce4bbee0ca7748a81929f81f7d8d07f8c51267/gems/libtmux/lib/libtmux/snapshot.rb#L148
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.3/reference/libtmux-panesnapshot-width/

```
def width: () -> ::Integer
```

Behavior: Captured records.

Behavior contract: Captured records.

## In other ports

### A pane's width in cells

- Python: [`libtmux.Pane.width`](/en/py/latest/reference/libtmux-pane-width/) (property)
- Lua: [`libtmux.SnapshotPane.width`](/en/lua/latest/reference/libtmux-snapshotpane-width/) (attribute)
- Rust: [`pane.Pane.width`](/en/rs/latest/reference/pane-pane-width/) (method)
- Go: [`tmux.Pane.Width`](/en/go/latest/reference/tmux-pane-width/) (method)
- C#: [`LibTmux.Pane.Width`](/en/csharp/latest/reference/libtmux-pane-width/) (property)
- C++: [`libtmux::Pane::width`](/en/cxx/latest/reference/libtmux-pane-width-ojiw/) (method)
- Swift: [`Pane.width`](/en/swift/latest/reference/pane-width/) (property)
