Class

PurplePluginInfo

unstable since: 3.0

Description [src]

class Purple.PluginInfo : GPlugin.PluginInfo
{
  /* No available fields */
}

PurplePluginInfo is a GPluginPluginInfo subclass that adds additional libpurple specific properties.

Available since: 3.0

Constructors

purple_plugin_info_new

Creates a new PurplePluginInfo instance to be returned from

plugin_query of a plugin, using the provided name/value pairs.

unstable since: 3.0

Instance methods

purple_plugin_info_get_action_group

Gets the [class:Gio.ActionGroup] from info if one is set.

unstable since: 3.0

purple_plugin_info_get_action_menu

Gets the [class:Gio.MenuModel] from info if one is set.

unstable since: 3.0

purple_plugin_info_get_error

Returns an error in the plugin info that would prevent the plugin from being loaded.

unstable since: 3.0

purple_plugin_info_get_flags

Returns the plugin’s flags.

unstable since: 3.0

purple_plugin_info_get_unloaded

Gets whether or not the plugin has been unloaded.

unstable since: 3.0

purple_plugin_info_set_unloaded

Sets the unloaded state of info to unloaded.

unstable since: 3.0

Methods inherited from GPluginPluginInfo (24)

Please see GPluginPluginInfo for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.PluginInfo:action-group

An GActionGroup of actions that this plugin provides.

unstable since: 3.0

Purple.PluginInfo:action-menu

A GMenuModel for activating actions.

unstable since: 3.0

Purple.PluginInfo:flags

Flags for the plugin.

unstable since: 3.0

Properties inherited from GPluginPluginInfo (23)
GPlugin.PluginInfo:abi-version

The GPlugin ABI version that the plugin was compiled against.

GPlugin.PluginInfo:authors

A list of the names and email addresses of the authors.

GPlugin.PluginInfo:auto-load

Whether or not the plugin should be loaded when it’s queried.

GPlugin.PluginInfo:bind-global

Determines whether the plugin should be have its symbols bound globally.

GPlugin.PluginInfo:category

The category of this plugin.

GPlugin.PluginInfo:dependencies

A comma separated list of plugin id’s that this plugin depends on.

GPlugin.PluginInfo:description

The full description of the plugin that will be used in a “more information” section in a user interface.

GPlugin.PluginInfo:discriminator

A unique value that can be used to identify plugins with the same id.

GPlugin.PluginInfo:icon-name

A XDG icon name for the plugin. The actual use of this is determined by the application/library using GPlugin.

GPlugin.PluginInfo:id

The id of the plugin.

GPlugin.PluginInfo:internal

Whether or not the plugin is considered an “internal” plugin.

GPlugin.PluginInfo:license-id

The short name of the license.

GPlugin.PluginInfo:license-text

The text of the license for this plugin. This should only be used when the plugin is licensed under a license that is not listed at spdx.org.

GPlugin.PluginInfo:license-url

The url to the text of the license. This should primarily only be used for licenses not listed at spdx.org.

GPlugin.PluginInfo:load-on-query

Whether or not the plugin should be loaded when it’s queried.

GPlugin.PluginInfo:name

The display name of the plugin. This should be a translated string.

GPlugin.PluginInfo:priority

The priority that this plugin should have when determining which plugin to use when multiple plugins have the same id or provides. Higher values take precedence over lower values. If two plugins have the same id and priority, the first one found will be used.

GPlugin.PluginInfo:provides

A list of additional plugin ids and versions that this plugin can provide. This mechanism is used so that plugins can replace and extend the behavior of other plugins.

GPlugin.PluginInfo:settings-schema

The ID of the GSettings schema for the plugin.

GPlugin.PluginInfo:summary

A short description of the plugin that can be listed with the name in a user interface.

GPlugin.PluginInfo:unloadable

Sets whether or not a plugin is unloadable. See gplugin_plugin_info_get_unloadable() for more information.

GPlugin.PluginInfo:version

The version of the plugin. Preferably a semantic version.

GPlugin.PluginInfo:website

The url of the plugin that can be represented in a user interface.

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.

Class structure

struct PurplePluginInfoClass {
  /* no available fields */
}

An opaque type representing the class of a PurplePluginInfo.