| libxfce4panel Reference Manual | ||||
|---|---|---|---|---|
XfceExternalPanelPlugin;
GtkWidget* xfce_external_panel_plugin_new (int argc,
char **argv,
XfcePanelPluginFunc construct);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----GtkPlug
+----XfceExternalPanelPlugin
typedef struct _XfceExternalPanelPlugin XfceExternalPanelPlugin;
The XfceExternalPanelPlugin struct contains private data only, and should be accessed using the functions for the XfcePanelPlugin Interface.
GtkWidget* xfce_external_panel_plugin_new (int argc,
char **argv,
XfcePanelPluginFunc construct);
Creates a new external plugin. This function should not be used directly but only through the XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL() macro.
| argc : | number of arguments (from the plugins main() function) |
| argv : | argument array (from the plugins main() function) |
| construct : | XfcePanelPluginFunc that will be called to construct the plugin widgets. |
| Returns : | newly created panel plugin widget. |