Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
panel_plugins_howto [2007/03/08 18:12] 84.104.252.221panel_plugins_howto [2007/08/06 18:07] – documentation link 85.25.140.211
Line 1: Line 1:
 ====== Xfce Panel Plugins How To ====== ====== Xfce Panel Plugins How To ======
 {{wiki:package.png  }} [[http://foo-projects.org/~nick/packages/xfce4-sample-plugin.tar.bz2|Download]] the external sample plugin. You can also [[http://svn.xfce.org/svn/goodies/xfce4-sample-plugin/trunk/|checkout]] the goodies svn. {{wiki:package.png  }} [[http://foo-projects.org/~nick/packages/xfce4-sample-plugin.tar.bz2|Download]] the external sample plugin. You can also [[http://svn.xfce.org/svn/goodies/xfce4-sample-plugin/trunk/|checkout]] the goodies svn.
 +
  
 ===== Introduction ===== ===== Introduction =====
Line 15: Line 16:
  
 The API documentation is installed with the panel and also available from  The API documentation is installed with the panel and also available from 
-http://www.xfce.org/documentation/api-4.4/+http://www.xfce.org/documentation/api/ 
  
 ===== .desktop file ===== ===== .desktop file =====
Line 211: Line 213:
   void xfce_panel_plugin_set_expand (XfcePanelPlugin *plugin,    void xfce_panel_plugin_set_expand (XfcePanelPlugin *plugin, 
                                      gboolean         expand);                                      gboolean         expand);
 +
 +
  
  
Line 223: Line 227:
 custom menu items. custom menu items.
  
-**IMPORTANT:** If you're custom menu item allows changes to the plugin, make sure it +**IMPORTANT:** If your custom menu item allows changes to the plugin, make sure it 
-is safe when running in [[http://www.xfce.org/documentation/4.4/api/libxfce4util/libxfce4util-Xfce-Kiosk-functions.html|Kiosk]] mode!+is safe when running in [[http://www.xfce.org/documentation/api/libxfce4util/libxfce4util-Xfce-Kiosk-functions.html|Kiosk]] mode!
  
   void   void
Line 234: Line 238:
                                       GtkMenuItem     *item);                                       GtkMenuItem     *item);
  
-If you're plugin has a configuration dialog you need to make that menu item+If your plugin has a configuration dialog you need to make that menu item
 visible and connect to the "configure-plugin" signal. The same for an about visible and connect to the "configure-plugin" signal. The same for an about
 dialog and the "about" signal. dialog and the "about" signal.