GtkMenuItem::remove_submenu

void remove_submenu();

Use this method to remove the submenu that is associated with the menu item.

This method does not result in the submenu being destroyed, merely detached from the menu item. You may reuse the submenu widget elsewhere.

See also: get_submenu() , set_submenu()