# cmd_display_menu_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-display-menu.c#L35
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_display_menu_entry/

tmux command: [`display-menu`](/en/tmux/3.2a/manual/display-menu/)

```c
const struct cmd_entry cmd_display_menu_entry = {
    .name = "display-menu",
    .alias = "menu",

    .args = { "c:t:OT:x:y:", 1, -1 },
    .usage = "[-O] [-c target-client] " "[-t target-pane]" " [-T title] "
         "[-x position] [-y position] name key command ...",

    .target = { 't', CMD_FIND_PANE, 0 },

    .flags = 0x4 | 0x8 ,
    .exec = cmd_display_menu_exec
};
```

## Other function references

- [`cmd_display_menu_exec`](/en/tmux/3.2a/reference/c-function-cmd-display-menu-c-cmd_display_menu_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`cmd_entry`](/en/tmux/3.2a/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_PANE`](/en/tmux/3.2a/reference/c-enum-cmd_find_type-cmd_find_pane/) (constant)
