# Libtmux_workspace.Config.window

**Workspace Manager concept example** A working example of the core library. It can change without notice.

- **Module:** Libtmux_workspace
- **Package:** libtmux-workspace
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/workspace/libtmux_workspace.mli#L49
- **Public owner:** Libtmux_workspace
- **Page:** https://libtmux.org/en/ocaml/latest/workspace/reference/libtmux_workspace-config-window/

```
val window :
  ?cwd:string ->
  ?environment:(string * string) list ->
  ?options:setting list ->
  ?layout:Libtmux.Layout.t -> name:string -> pane list -> window
```

Builders are unchecked descriptions; [`make`](/en/ocaml/latest/workspace/reference/libtmux_workspace-config-make/) validates the whole document.

## Parameters

- `cwd?` (`string`)
- `environment?` (`(string * string) list`)
- `options?` (`setting list`)
- `layout?` (`Libtmux.Layout.t`)
- `name` (`string`)
- `arg1` (`pane list`)
