Menu.detach

Detaches the menu from the widget to which it had been attached. This function will call the callback function, detacher, provided when the Menu.attachToWidget function was called.

class Menu
void
detach
()