# Libtmux.Window.t

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L231
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-window-t/

```
type t
```

## In other ports

A tmux window

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Window`](/en/py/latest/reference/libtmux-window/) (class) |
| Ruby | [`LibTmux::Window`](/en/ruby/latest/reference/libtmux-window-1vfx/) (class) |
| Lua | [`libtmux.Window`](/en/lua/latest/reference/libtmux-window/) (class) |
| PowerShell | [`LibTmux\Get-TmuxWindow`](/en/powershell/latest/reference/libtmux-get-tmuxwindow/) (cmdlet). This cmdlet reads shared .NET `LibTmux.Window` placements. Use [`-Server`](/en/powershell/latest/reference/libtmux-get-tmuxwindow/#LibTmux%5CGet-TmuxWindow.parameter.Server) for all sessions or [`-Session`](/en/powershell/latest/reference/libtmux-get-tmuxwindow/#LibTmux%5CGet-TmuxWindow.parameter.Session) for one session. |
| Julia | [`LibTmux.WindowSnapshot`](/en/julia/latest/reference/libtmux-windowsnapshot/) (struct). `WindowSnapshot` holds captured physical-window data. `WindowLink` records a placement in a session; actions use `WindowRef`. |
| Erlang | [`#tmux_model:window{}`](/en/erlang/latest/reference/tmux_model-window/) (struct). A physical window can have several session memberships. `window_link` holds the session-relative index and active flag. |
| Elixir | [`LibTmux.Window`](/en/elixir/latest/reference/libtmux-window/) (struct). `Window` is a physical window. `WindowLink` records its session index and active state. |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| Common Lisp | [`libtmux:window`](/en/lisp/latest/reference/libtmux-window-type/) (class). `window` is a physical captured window. `window-link` preserves each session placement. |
| TypeScript | [`window.Window`](/en/ts/latest/reference/window-window/) (class) |
| Rust | [`window.Window`](/en/rs/latest/reference/window-window/) (struct) |
| Go | [`tmux.Window`](/en/go/latest/reference/tmux-window/) (struct) |
| Java | [`io.github.libtmux.Window`](/en/java/latest/reference/io-github-libtmux-window-window/) (class) |
| Clojure | [`libtmux.data/windows`](/en/clojure/latest/reference/libtmux-data-windows/) (function). Traverses captured window-placement maps without I/O; the window value is a map with an explicit Java reference for effects. |
| Kotlin | [`io.github.libtmux.kotlin.Window`](/en/kotlin/latest/reference/io-github-libtmux-kotlin-window/) (class) |
| Scala | [`io.github.libtmux.scaladsl.Window`](/en/scala/latest/reference/io-github-libtmux-scaladsl-window/) (typealias) |
| C# | [`LibTmux.Window`](/en/csharp/latest/reference/libtmux-window/) (class) |
| F# | [`LibTmux.FSharp.Window`](/en/fsharp/latest/reference/libtmux-fsharp-window/) (module). This F# module identifies shared .NET `LibTmux.Window` placements and builds deferred pane queries. `Query.list` acquires their results from tmux. |
| C++ | [`libtmux::Window`](/en/cxx/latest/reference/libtmux-window/) (class) |
| Swift | [`Window`](/en/swift/latest/reference/window/) (struct) |
| Perl | [`LibTmux::Window`](/en/perl/latest/reference/libtmux-window/) (class). Physical window identity. WindowLink owns each session/index placement. |
