# LibTmux.DisplayPopupRequest.DisplayPopupRequest

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

```
LibTmux.DisplayPopupRequest.DisplayPopupRequest(command: string?, closeMode: PopupCloseMode?, closeExisting: bool, targetClient: string?, width: string?, height: string?, x: string?, y: string?, startDirectory: string?, title: string?, borderLines: string?, style: string?, borderStyle: string?, environment: IReadOnlyDictionary<string, string>?, noBorder: bool, closeOnAnyKey: bool, noKeys: bool)
```

Initializes a popup request.

## Parameters

- `command` (string?) — The command the popup runs.
- `closeMode` (PopupCloseMode?) — When the popup closes on its own.
- `closeExisting` (bool) — Whether an open popup is closed instead.
- `targetClient` (string?) — The client to show the popup on.
- `width` (string?) — The popup width.
- `height` (string?) — The popup height.
- `x` (string?) — The column to place the popup at.
- `y` (string?) — The row to place the popup at.
- `startDirectory` (string?) — The working directory for the command.
- `title` (string?) — The popup title.
- `borderLines` (string?) — The border line style.
- `style` (string?) — The popup style.
- `borderStyle` (string?) — The popup border style.
- `environment` (IReadOnlyDictionary<string, string>?) — Environment entries set on the command.
- `noBorder` (bool) — Whether the popup has no border.
- `closeOnAnyKey` (bool) — Whether any key closes the popup.
- `noKeys` (bool) — Whether the popup ignores keys.
