Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
panel_plugins_howto [2007/01/29 10:24] – 145.8.220.125 | panel_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: | {{wiki: | ||
+ | |||
===== 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:// | + | http:// |
===== .desktop file ===== | ===== .desktop file ===== | ||
Line 211: | Line 213: | ||
void xfce_panel_plugin_set_expand (XfcePanelPlugin *plugin, | void xfce_panel_plugin_set_expand (XfcePanelPlugin *plugin, | ||
| | ||
+ | |||
+ | |||
+ | |||
+ | |||
Line 220: | Line 226: | ||
xfce_panel_plugin_add_action_widget() function. A plugin can also add additional, | xfce_panel_plugin_add_action_widget() function. A plugin can also add additional, | ||
custom menu items. | custom menu items. | ||
+ | |||
+ | **IMPORTANT: | ||
+ | is safe when running in [[http:// | ||
void | void | ||
Line 229: | Line 238: | ||
GtkMenuItem | GtkMenuItem | ||
- | If you' | + | If your plugin has a configuration dialog you need to make that menu item |
visible and connect to the " | visible and connect to the " | ||
dialog and the " | dialog and the " | ||
Line 252: | Line 261: | ||
- | ===== Testing the plugin ===== | + | |
+ | ===== Testing | ||
When you test your new plugin, use the '' | When you test your new plugin, use the '' | ||