Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::
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.