| libxfce4panel Reference Manual | ||||
|---|---|---|---|---|
XfceInternalPanelPlugin;
GtkWidget* xfce_internal_panel_plugin_new (const char *name,
const char *id,
const char *display_name,
int size,
XfceScreenPosition position,
XfcePanelPluginFunc construct);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox +----XfceInternalPanelPlugin
XfceInternalPanelPlugin implements AtkImplementorIface, GtkBuildable, XfcePanelPlugin and XfcePanelItem.
typedef struct _XfceInternalPanelPlugin XfceInternalPanelPlugin;
The XfceInternalPanelPlugin struct contains private data only, and should be accessed using the functions for the XfcePanelPlugin Interface.
GtkWidget* xfce_internal_panel_plugin_new (const char *name, const char *id, const char *display_name, int size, XfceScreenPosition position, XfcePanelPluginFunc construct);
Creates a new internal plugin. This function should not be used directly,
but only throught the XFCE_PANEL_PLUGIN_REGISTER_INTERNAL() macro.
|
plugin name |
|
unique identifier string |
|
translated plugin name |
|
panel size |
|
panel screen position |
|
XfcePanelPluginFunc that will be called to construct the plugin widgets. |
Returns : |
Newly created panel plugin widget. |