Disablenosel for menu

Is there a way to use @disablenosel also for menus? Actually you can disbale only the buttons within a menu, but not the menu-button itself.

Simple sub-menus can't be disabled, only the things within them.

A button-menu (as in a clickable button which runs a command and also has a menu attached to the drop-down arrow on the right of it) can be disabled, but not a simple menu-only menu.

Ok, thanks.