libtmux Reference MCP Search
On this page

LibTmux.DisplayMenuRequest.DisplayMenuRequest

View as Markdown

Module
LibTmux
Declared in
DisplayMenuRequest
Package
LibTmux
Source
src/LibTmux/Requests/DisplayMenuRequest.cs
DisplayMenuRequest
( 13 parameters ) ( 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 )
method [source]
method [source]
DisplayMenuRequest

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.

0 declared, 0 inherited

Esc

Type to search.