Method Gnome.AppletWidget()->register_callback()
- Method register_callback
Gnome.AppletWidgetregister_callback(stringname,stringmenutext,function(:void)callback_cb,mixedcallback_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.