setup_menu


Description:

public signal void setup_menu (SidebarItem? item)

Emitted when a context menu is opened or closed for item.

If the menu has been closed, item will be set to `NULL`.

It can be used to set up menu actions before showing the menu, for example disable actions not applicable to item.

Parameters:

item

an item in self