Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
dev:howto:panel_plugins [2019/01/03 18:44]
landry [Testing and Releasing the plugin]
dev:howto:panel_plugins [2019/02/17 10:31] (current)
lorb use XFCE_PANEL_PLUGIN_REGISTER instead of older macros
Line 67: Line 67:
 ===== Plugin Registration ===== ===== Plugin Registration =====
  
-To register a plugin with the plugin system there are two macros ​available that should be used,  +To register a plugin with the plugin system there is one macro available that should be used, instead of using the library functions directly
-instead of using the library functions directly; one for internal plugins and one for external plugins.+  XFCE_PANEL_PLUGIN_REGISTER(construct); 
 +   
 +Older versions use the following two deprecated macros, ​one for internal plugins and one for external plugins.
  
   XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct);​   XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct);​