XfceInternalPanelPlugin

XfceInternalPanelPlugin — Internal panel plugin.

Synopsis

#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);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkEventBox
                                       +----XfceInternalPanelPlugin

Implemented Interfaces

XfceInternalPanelPlugin implements AtkImplementorIface, GtkBuildable, XfcePanelItem and XfcePanelPlugin.

Description

Implements the Panel Plugin interface for internal plugins (loadable modules).

Details

XfceInternalPanelPlugin

typedef struct _XfceInternalPanelPlugin XfceInternalPanelPlugin;

The XfceInternalPanelPlugin struct contains private data only, and should be accessed using the functions for the XfcePanelPlugin Interface.


xfce_internal_panel_plugin_new ()

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.