Type Alias tmux_interface::commands::status_line::display_menu::Menu
source · pub type Menu<'a> = DisplayMenu<'a>;
Aliased Type§
struct Menu<'a> {
pub not_close: bool,
pub target_client: Option<Cow<'a, str>>,
pub target_pane: Option<Cow<'a, str>>,
pub title: Option<Cow<'a, str>>,
pub x: Option<usize>,
pub y: Option<usize>,
pub name: Option<Cow<'a, str>>,
pub key: Option<Cow<'a, str>>,
pub command: Option<Cow<'a, str>>,
}
Fields§
§not_close: bool
[-O]
- the menu does not close when the mouse button is released without an item selected
target_client: Option<Cow<'a, str>>
[-c target-client]
- target-client
target_pane: Option<Cow<'a, str>>
[-t target-pane]
- target-pane
title: Option<Cow<'a, str>>
[-T title]
- title
x: Option<usize>
[-x position]
- x position of the menu
y: Option<usize>
[-y position]
- y position of the menu
name: Option<Cow<'a, str>>
name
key: Option<Cow<'a, str>>
key
command: Option<Cow<'a, str>>
command