Extracted from Pike v8.0 release 164 as of 2016-02-09.
   

Method Gnome.AppletWidget()->unregister_callback_dir()


Method unregister_callback_dir

Gnome.AppletWidget unregister_callback_dir(string name)

Description

Removes a submenu from the applet's context menu. Use this instead of unregister_callback to remove submenus. The name can be, but doesn't have to be terminated with a '/'. If you have not removed the subitems of this menu, it will still be shown but without it's title or icon. So make sure to first remove any items and submenus before calling this function.