# libtmux.Pane.window_id

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Python
- **Kind:** attribute
- **Source:** https://github.com/tmux-python/libtmux/blob/38e368c11117fb4aeb2f082d552cd4f210eae06a/src/libtmux/neo.py#L469
- **Inherited from:** libtmux.neo.Obj
- **Page:** https://libtmux.org/en/py/stable/reference/libtmux-pane-window_id/

```py
libtmux.Pane.window_id: str | None = None
```

## In other ports

### The id of the window holding a pane

- Ruby: [`LibTmux::PaneSnapshot#window_id`](/en/ruby/latest/reference/libtmux-panesnapshot-window_id/) (method)
- Lua: [`libtmux.SnapshotPane.window_id`](/en/lua/latest/reference/libtmux-snapshotpane-window_id/) (attribute)
- Rust: [`pane.Pane.window_id`](/en/rs/latest/reference/pane-pane-window_id/) (method)
- Go: [`tmux.Pane.WindowID`](/en/go/latest/reference/tmux-pane-windowid/) (method)
- C++: [`libtmux::Pane::window_id`](/en/cxx/latest/reference/libtmux-pane-window_id-1v4v/) (method)
- Swift: [`Pane.windowID`](/en/swift/latest/reference/pane-windowid/) (property)
