# popup_menu_items

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L84
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-variable-popup-c-popup_menu_items/

```c
static const struct menu_item popup_menu_items[] = {
    { "Close", 'q', NULL },
    { "#{?buffer_name,Paste #[underscore]#{buffer_name},}", 'p', NULL },
    { "", KEYC_NONE, NULL },
    { "Fill Space", 'F', NULL },
    { "Centre", 'C', NULL },
    { "", KEYC_NONE, NULL },
    { "To Horizontal Pane", 'h', NULL },
    { "To Vertical Pane", 'v', NULL },

    { NULL, KEYC_NONE, NULL }
};
```

## Referenced by

- [`popup_key_cb`](/en/tmux/latest/reference/c-function-popup-c-popup_key_cb/) (function)

## Referenced declarations

- [`KEYC_NONE`](/en/tmux/latest/reference/c-enum-tmux-h-332237342172367247102064023371112372044056265234-keyc_none/) (constant)
- [`menu_item`](/en/tmux/latest/reference/c-struct-menu_item/) (struct)
