![]() |
![]() |
![]() |
Peas Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
struct PeasGtkPluginManager; struct PeasGtkPluginManagerClass; GtkWidget * peas_gtk_plugin_manager_new (PeasEngine *engine
); GtkWidget * peas_gtk_plugin_manager_get_view (PeasGtkPluginManager *pm
);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkBox +----PeasGtkPluginManager
PeasGtkPluginManager implements AtkImplementorIface, GtkBuildable and GtkOrientable.
"engine" PeasEngine* : Read / Write / Construct Only "view" PeasGtkPluginManagerView* : Read / Write / Construct Only
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).
struct PeasGtkPluginManager;
The PeasGtkPluginManager structure contains only private data and should only be accessed using the provided API.
struct PeasGtkPluginManagerClass { GtkBoxClass parent_class; };
The class structure for PeasGtkPluginManager.
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.
|
A PeasEngine, or NULL . [allow-none]
|
Returns : |
the new PeasGtkPluginManager. |
GtkWidget * peas_gtk_plugin_manager_get_view (PeasGtkPluginManager *pm
);
Returns the PeasGtkPluginManagerView of pm
.
|
A PeasGtkPluginManager. |
Returns : |
the GtkTreeView of pm . [transfer none]
|
"engine"
property"engine" PeasEngine* : Read / Write / Construct Only
The PeasEngine this manager is attached to.
"view"
property"view" PeasGtkPluginManagerView* : Read / Write / Construct Only
The PeasGtkPluginManagerView shown in the PeasGtkPluginManager.