PeasGtkPluginManager

PeasGtkPluginManager — Management GUI for plugins.

Synopsis

struct              PeasGtkPluginManager;
struct              PeasGtkPluginManagerClass;
GtkWidget *         peas_gtk_plugin_manager_new         (PeasEngine *engine);
GtkWidget *         peas_gtk_plugin_manager_get_view    (PeasGtkPluginManager *pm);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkWidget
               +----GtkContainer
                     +----GtkBox
                           +----PeasGtkPluginManager

Implemented Interfaces

PeasGtkPluginManager implements AtkImplementorIface, GtkBuildable and GtkOrientable.

Properties

  "engine"                   PeasEngine*           : Read / Write / Construct Only
  "view"                     PeasGtkPluginManagerView*  : Read / Write / Construct Only

Description

The PeasGtkPluginManager is a widget that can be used to manage plugins, i.e. load or unload them, and see some pieces of information.

The only thing you need to do as an application writer if you wish to use the manager to configure your plugins is to instantiate it using peas_gtk_plugin_manager_new() and pack it into another widget or a window (as in the screenshot above).

Details

struct PeasGtkPluginManager

struct PeasGtkPluginManager;

The PeasGtkPluginManager structure contains only private data and should only be accessed using the provided API.


struct PeasGtkPluginManagerClass

struct PeasGtkPluginManagerClass {
  GtkBoxClass parent_class;
};

The class structure for PeasGtkPluginManager.

GtkBoxClass parent_class;

The parent class.

peas_gtk_plugin_manager_new ()

GtkWidget *         peas_gtk_plugin_manager_new         (PeasEngine *engine);

Creates a new plugin manager for the given PeasEngine.

If engine is NULL, then the default engine will be used.

engine :

A PeasEngine, or NULL. [allow-none]

Returns :

the new PeasGtkPluginManager.

peas_gtk_plugin_manager_get_view ()

GtkWidget *         peas_gtk_plugin_manager_get_view    (PeasGtkPluginManager *pm);

Returns the PeasGtkPluginManagerView of pm.

pm :

A PeasGtkPluginManager.

Returns :

the GtkTreeView of pm. [transfer none]

Property Details

The "engine" property

  "engine"                   PeasEngine*           : Read / Write / Construct Only

The PeasEngine this manager is attached to.


The "view" property

  "view"                     PeasGtkPluginManagerView*  : Read / Write / Construct Only

The PeasGtkPluginManagerView shown in the PeasGtkPluginManager.