Class
GPluginManager
since: 0.32
Description [src]
final class GPlugin.Manager : GObject.Object
{
/* No available fields */
}
The manager is responsible for querying plugins as well as telling loaders when to load and unload plugins. It also keeps track of paths that should be searched for plugins.
Available since: 0.32
Instance methods
gplugin_manager_add_default_paths
Adds the path that GPlugin was installed to to the plugin search path, as
well as ${XDG_CONFIG_HOME}/gplugin
so users can install additional loaders themselves.
gplugin_manager_append_paths_from_environment
Append the paths held in the environment variable name
to the list.
since: 0.37
gplugin_manager_find_plugin_with_newest_version
Calls gplugin_manager_find_plugins()
with id
, and then returns the
plugins with the highest version number or NULL
if no plugins with id
are found.
gplugin_manager_find_plugins_with_version
Similar to gplugin_manager_find_plugins()
but only returns plugins
whose versions match op
and version
.
gplugin_manager_prepend_paths_from_environment
Prepends the paths held in the environment variable name
to the list.
since: 0.37
Signals
GPlugin.Manager::loader-registered
Emitted when loader
has been registered with manager
via
gplugin_manager_register_loader()
.
since: 0.39
GPlugin.Manager::loader-unregistered
Emitted when loader
has been unregistered from manager
via
gplugin_manager_unregister_loader()
.
since: 0.39
GPlugin.Manager::unload-plugin-failed
Emitted when manager
was asked to unload plugin
, but plugin
returned
FALSE
when its unload function was called.
since: 0.33
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.