Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[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.