| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Gnome
Gnome.AppletWidget

# Method Gnome.AppletWidget()->register_callback()

Method register_callback

  `Gnome.AppletWidget register_callback(string name, string menutext, function callback_cb, mixed callback_arg)`

Description

  Adds a menu item to the applet's context menu. The name should be a path that is separated by '/' and ends in the name of this item. You need to add any submenus with register_callback_dir.