# LibTmux.TmuxMenuItem.TmuxMenuItem

- **Module:** LibTmux.TmuxMenuItem
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Utilities/TmuxMenuItem.cs#L14
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxmenuitem-tmuxmenuitem/

```
LibTmux.TmuxMenuItem.TmuxMenuItem(name: string, key: string, command: string)
```

Initializes one menu item.

## Parameters

- `name` (string) — The text shown for the item.
- `key` (string) — The key that chooses it.
- `command` (string) — The tmux command it runs.
