GObject.Object
Peas.Engine
Import line: | Peas = imports.gi.Peas; |
GIR File: | Peas-1.0.gir |
C documentation: | PeasEngine |
Class : | Engine |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
loaded_plugins : Array
|
Peas.Engine | |
parent : GObject.Object
read only
|
Peas.Engine | |
plugin_list : void*
read only
|
Peas.Engine | |
priv : Peas.EnginePrivate
read only
|
Peas.Engine |
Method / Constructor | Defined By | |
---|---|---|
new Peas.Engine
(Object properties)
Create a new Peas.Engine
Create a new Peas.Engine
|
||
Peas.Engine.get_default
()
:
Peas.Engine
|
Peas.Engine | |
Peas.Engine | ||
create_extension
(PluginInfo info, Number extension_type, guint32 n_parameters, Array parameters)
:
Peas.Extension
|
Peas.Engine | |
enable_loader
(String loader_id)
:
none
|
Peas.Engine | |
garbage_collect
()
:
none
This function triggers garbage collection on all the loaders currently
owned by the PeasEngine.
This function triggers garbage collection on all the loaders currently
owned by the PeasEngine. This can be used to force the loaders to destroy managed objects that still hold references to objects that are about to disappear.
|
Peas.Engine | |
get_loaded_plugins
()
:
Array
Returns the list of the names of all the loaded plugins, or NULL if there
is no plugin currently loaded.
Returns the list of the names of all the loaded plugins, or NULL if there
is no plugin currently loaded. Please note that the returned array is a
|
Peas.Engine | |
get_plugin_info
(String plugin_name)
:
Peas.PluginInfo
|
Peas.Engine | |
get_plugin_list
()
:
Array
Returns the list of PeasPluginInfo known to the engine.
Returns the list of PeasPluginInfo known to the engine.
PeasPluginInfo. Note that the list belongs to the engine and should not be freed.
|
Peas.Engine | |
load_plugin
(PluginInfo info)
:
gboolean
Loads the plugin corresponding to info if it's not currently loaded.
Loads the plugin corresponding to info if it's not currently loaded.
|
Peas.Engine | |
|
Peas.Engine | |
rescan_plugins
()
:
none
Rescan all the registered directories to find new or updated plugins.
Rescan all the registered directories to find new or updated plugins.
Calling this function will make the newly installed plugin infos to be loaded by the engine, so the new plugins can actually be used without restarting the application.
|
Peas.Engine | |
set_loaded_plugins
(Array plugin_names)
:
none
Sets the list of loaded plugins for engine.
Sets the list of loaded plugins for engine. When this function is called,
the PeasEngine will load all the plugins whose names are in plugin_names, and ensures all other active plugins are unloaded.
|
Peas.Engine | |
unload_plugin
(PluginInfo info)
:
gboolean
Unloads the plugin corresponding to info.
Unloads the plugin corresponding to info.
|
Peas.Engine |
Event | Defined By | |
---|---|---|
load_plugin (Engine self, PluginInfo info)
:
none
The load-plugin signal is emitted when a plugin is being loaded.
The load-plugin signal is emitted when a plugin is being loaded.
|
Peas.Engine | |
unload_plugin (Engine self, PluginInfo info)
:
none
The unload-plugin signal is emitted when a plugin is being unloaded.
The unload-plugin signal is emitted when a plugin is being unloaded.
|
Peas.Engine |
Class / Namespace | Method / Signal / Properties |
---|---|
Peas.ExtensionSet
Property |
engine : Peas.Engine
|
Peas.ExtensionSet
Method |
Peas.ExtensionSet.c_new
(Engine engine, Number exten_type, guint32 n_parameters, Array parameters)
:
Peas.ExtensionSet
Create an ExtensionSet for all the exten_type extensions defined in
the plugins loaded in engine. |
PeasGtk.PluginManager
Property |
engine : Peas.Engine
|
PeasGtk.PluginManager
Method |
Create a new PeasGtk.PluginManager
|
PeasGtk.PluginManagerView
Property |
engine : Peas.Engine
|
PeasGtk.PluginManagerView
Method |
Create a new PeasGtk.PluginManagerView
|