| The GNOME Panel Libraries | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
void applet_widget_register_callback ( |
void applet_widget_register_callback ( |
Adds a menu item to the applet's context menu.
| applet : | |
| name : | path to the menu item. |
| menutext : | text for the menu item. |
| func : | |
| data : | data passed to func. |
void applet_widget_register_stock_callback
( |
dds a menu item to the applet's context menu with a stock GNOME pixmap.
| applet : | |
| name : | path to the menu item. |
| stock_type : | GNOME_STOCK string to use for the pixmap |
| menutext : | text for the menu item. |
| func : | |
| data : | data passed to func. |
void applet_widget_unregister_callback
( |
Remove a menu item from the applet's context menu.
| applet : | |
| name : | path to the menu item. |
void applet_widget_register_callback_dir
( |
Adds a submenu to the applet's context menu.
| applet : | |
| name : | path to the menu item. |
| menutext : | text for the menu item. |
void applet_widget_register_stock_callback_dir
( |
Adds a submenu to the applet's context menu with a stock GNOME pixmap.
| applet : | |
| name : | path to the menu item. |
| stock_type : | GNOME_STOCK string to use for the pixmap |
| menutext : | text for the menu item. |
void applet_widget_unregister_callback_dir
( |
Removes a submenu from the applet's context menu.
| applet : | |
| name : | path to the menu item. |
void applet_widget_callback_set_sensitive
( |
Sets the sensitivity of a menu item in the applet's context menu.
| applet : | |
| name : | path to the menu item. |
| sensitive : | whether menu item should be sensitive. |