Class
PeasPluginInfo
Description [src]
final class Peas.PluginInfo : GObject.Object
{
/* No available fields */
}
A PeasPluginInfo
contains all the information available about a plugin.
All this information comes from the related plugin info file, whose file
extension is “.plugin”. Here is an example of such a plugin file, in the
GKeyFile
format:
[Plugin]
Module=helloworld
Depends=foo;bar;baz
Loader=python
Name=Hello World
Description=Displays "Hello World"
Authors=Steve Frécinaux <code@istique.net>
Copyright=Copyright © 2009-10 Steve Frécinaux
Website=https://wiki.gnome.org/Projects/Libpeas
Help=https://gitlab.gnome.org/GNOME/libpeas
Hidden=false
Instance methods
peas_plugin_info_get_authors
Gets a NULL
-terminated array of strings with the authors of the plugin.
peas_plugin_info_get_resource
Creates a new GResource
for the given filename
located in the module directory. If filename
is NULL
then “${module_name}.gresource” will be loaded.
peas_plugin_info_get_settings
Creates a new GSettings
for the given schema_id
and if
gschemas.compiled is not in the module directory an attempt
will be made to create it.
since: 1.4
peas_plugin_info_load_resource
Loads the resource using peas_plugin_info_get_resource()
and
registers it. The resource’s lifetime will be automatically
handled by info
.
Signals
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.