# LibTmux.TmuxMenuItem.TmuxMenuItem

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** C#
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux/Utilities/TmuxMenuItem.cs#L14
- **Page:** https://libtmux.org/en/csharp/latest/reference/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.
