Method Gnome.AppletWidget()->register_callback()
- Method register_callback
Gnome.AppletWidget register_callback(string name, string menutext, function(:void) 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.