# LibTmux.DisplayMenuRequest.DisplayMenuRequest

- **Module:** LibTmux.DisplayMenuRequest
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/DisplayMenuRequest.cs#L22
- **Page:** https://libtmux.org/reference/dotnet/libtmux-displaymenurequest-displaymenurequest/

```
LibTmux.DisplayMenuRequest.DisplayMenuRequest(items: IReadOnlyList<TmuxMenuItem>, title: string?, targetPane: string?, targetClient: string?, x: string?, y: string?, startingChoice: string?, borderLines: string?, style: string?, borderStyle: string?, selectedStyle: string?, mouse: bool, stayOpen: bool)
```

Initializes a menu.

## Parameters

- `items` (IReadOnlyList<TmuxMenuItem>) — The lines the menu offers.
- `title` (string?) — The title shown above them.
- `targetPane` (string?) — The pane the menu belongs to.
- `targetClient` (string?) — The client shown the menu.
- `x` (string?) — Where the menu sits across the screen.
- `y` (string?) — Where the menu sits down the screen.
- `startingChoice` (string?) — The item selected when it opens.
- `borderLines` (string?) — Which line style draws the border.
- `style` (string?) — The style of the menu itself.
- `borderStyle` (string?) — The style of its border.
- `selectedStyle` (string?) — The style of the selected line.
- `mouse` (bool) — Whether the mouse can choose an item.
- `stayOpen` (bool) — Whether the menu stays open after a choice.
