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