libxfce4panel Reference Manual |
---|
Writing PluginsWriting Plugins — Information for plugin writers |
#include <libxfce4panel/libxfce4panel> #define XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct) #define XFCE_PANEL_PLUGIN_REGISTER_INTERNAL(construct)
#define XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct)
Registers and initializes the plugin. This is the only thing that is required to create a panel plugin.
See also: Panel Plugin interface
construct : |
name of a function that can be cast to an XfcePanelPluginFunc |
#define XFCE_PANEL_PLUGIN_REGISTER_INTERNAL(construct)
Registers and initializes the plugin. This is the only thing that is required to create a panel plugin.
This macro is for plugins implemented as a loadable module. Generally it is
preferred to create an external plugin, for which you have to use
XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL()
.
See also: Panel Plugin interface
construct : |
name of a function that can be cast to an XfcePanelPluginFunc |
<< Standard Enumerations | XfcePanelPlugin >> |