| Libxfce4panel Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
#include <libxfce4panel/libxfce4panel.h>
XfceInternalPanelPlugin;
GtkWidget * xfce_internal_panel_plugin_new (const gchar *name,
const gchar *id,
const gchar *display_name,
gint size,
XfceScreenPosition position,
XfcePanelPluginFunc construct);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkEventBox +----XfceInternalPanelPlugin
XfceInternalPanelPlugin implements GtkBuildable, AtkImplementorIface, 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 gchar *name, const gchar *id, const gchar *display_name, gint size, XfceScreenPosition position, XfcePanelPluginFunc construct);
Creates a new ginternal plugin. This function should not be used directly, but only throught the XFCE_PANEL_PLUGIN_REGISTER_INTERNAL() macro.
| name : | plugin name |
| id : | unique identifier string |
| display_name : | translated plugin name |
| size : | panel size |
| position : | panel screen position |
| construct : | XfcePanelPluginFunc that will be called to construct the plugin widgets. |
| Returns : | Newly created panel plugin widget. |