# Libtmux_workspace.Plan.action

**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:** enum
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/workspace/libtmux_workspace.mli#L110
- **Public owner:** Libtmux_workspace
- **Page:** https://libtmux.org/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action/

```
type action =
  | Create_session of
  {
  bootstrap: bool ;
  name: string ;
  window_name: string ;
  spawn: Libtmux.Spawn.t ;
  width: int ;
  height: int } 
  | Create_window of {
  window: int ;
  name: string ;
  spawn: Libtmux.Spawn.t } 
  | Split_pane of
  {
  window: int ;
  pane: int ;
  spawn: Libtmux.Spawn.t ;
  direction: Libtmux.Geometry.direction ;
  size: Libtmux.Geometry.size option } 
  | Set_environment of string * string 
  | Set_option of scope * Config.setting 
  | Send_text of {
  window: int ;
  pane: int ;
  text: string } 
  | Send_enter of {
  window: int ;
  pane: int } 
  | Select_layout of int * Libtmux.Layout.t 
```

## Members

### Other members

- [`Create_session`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-create_session/) (constant)
- [`Create_window`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-create_window/) (constant)
- [`Select_layout`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-select_layout/) (constant)
- [`Send_enter`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-send_enter/) (constant)
- [`Send_text`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-send_text/) (constant)
- [`Set_environment`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-set_environment/) (constant)
- [`Set_option`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-set_option/) (constant)
- [`Split_pane`](/en/ocaml/latest/workspace/reference/libtmux_workspace-plan-action-split_pane/) (constant)
