Gnome.AppletWidget register_stock_callback(string name, string stock_type, string menutext, function callback_cb, mixed callback_arg)
Adds a menu item to the applet's context menu with a stock GNOME pixmap. This works almost exactly the same as register_callback.