Class
PeasEngine
since: 1.0
Description [src]
class Peas.Engine : GObject.Object
{
/* No available fields */
}
The PeasEngine structure contains only private data and should only be
accessed using the provided API.
Available since: 1.0
Constructors
peas_engine_new_with_nonglobal_loaders
Return a new instance of PeasEngine which will use non-global
plugin loaders instead of the default global ones.
since: 1.14
Instance methods
peas_engine_add_search_path
Appends a search path to the list of paths where to look for plugins.
since: 1.0
peas_engine_create_extension
If the plugin identified by info implements the extension_type,
then this function will return a new instance of this implementation,
wrapped in a new PeasExtension instance. Otherwise, it will return NULL.
since: 1.0
peas_engine_create_extension_valist
If the plugin identified by info implements the extension_type,
then this function will return a new instance of this implementation,
wrapped in a new PeasExtension instance. Otherwise, it will return NULL.
since: 1.0
peas_engine_create_extension_with_properties
If the plugin identified by info implements the extension_type,
then this function will return a new instance of this implementation,
wrapped in a new PeasExtension instance. Otherwise, it will return NULL.
since: 1.24
peas_engine_create_extensionv
If the plugin identified by info implements the extension_type,
then this function will return a new instance of this implementation,
wrapped in a new PeasExtension instance.
since: 1.0
peas_engine_garbage_collect
Triggers garbage collection on all the loaders currently owned by the
PeasEngine.
since: 1.0
peas_engine_get_plugin_info
Gets the PeasPluginInfo corresponding with plugin_name,
or NULL if plugin_name was not found.
since: 1.0
peas_engine_load_plugin
Loads the plugin corresponding to info if it’s not currently loaded.
since: 1.0
peas_engine_prepend_search_path
Prepends a search path to the list of paths where to look for plugins.
since: 1.6
peas_engine_rescan_plugins
Rescan all the registered directories to find new or updated plugins.
since: 1.0
Signals
Peas.Engine::load-plugin
The load-plugin signal is emitted when a plugin is being loaded.
since: 1.0
Peas.Engine::unload-plugin
The unload-plugin signal is emitted when a plugin is being unloaded.
since: 1.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
unstable since: 2.0
Class structure
struct PeasEngineClass {
GObjectClass parent_class;
void (* load_plugin) (
PeasEngine* engine,
PeasPluginInfo* info
);
void (* unload_plugin) (
PeasEngine* engine,
PeasPluginInfo* info
);
}
Class structure for PeasEngine.
Class members
parent_class: GObjectClassThe parent class.
load_plugin: void (* load_plugin) ( PeasEngine* engine, PeasPluginInfo* info )Signal class handler for the
PeasEngine::load-pluginsignal.unload_plugin: void (* unload_plugin) ( PeasEngine* engine, PeasPluginInfo* info )Signal class handler for the
PeasEngine::unload-pluginsignal.
Virtual methods
Peas.EngineClass.load_plugin
Signal class handler for the PeasEngine::load-plugin signal.
since: 1.0
Peas.EngineClass.unload_plugin
Signal class handler for the PeasEngine::unload-plugin signal.
since: 1.0