PluginInfo

The peas.PluginInfo structure contains only private data and should only be accessed using the provided API.

Constructors

this
this(PeasPluginInfo* peasPluginInfo, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getAuthors
string[] getAuthors()

Gets a NULL-terminated array of strings with the authors of the plugin.

getCopyright
string getCopyright()

Gets the copyright of the plugin.

getDataDir
string getDataDir()

Gets the data dir of the plugin.

getDependencies
string[] getDependencies()

Gets the dependencies of the plugin.

getDescription
string getDescription()

Gets the description of the plugin.

getExternalData
string getExternalData(string key)

Gets external data specified for the plugin.

getHelpUri
string getHelpUri()

Gets the help URI of the plugin.

getIconName
string getIconName()

Gets the icon name of the plugin.

getModuleDir
string getModuleDir()

Gets the module directory.

getModuleName
string getModuleName()

Gets the module name.

getName
string getName()

Gets the name of the plugin.

getPluginInfoStruct
PeasPluginInfo* getPluginInfoStruct(bool transferOwnership)

Get the main Gtk struct

getSettings
Settings getSettings(string schemaId)

Creates a new gtk.Settings for the given schema_id and if gschemas.compiled is not in the module directory an attempt will be made to create it.

getStruct
void* getStruct()

the main Gtk struct as a void*

getVersion
string getVersion()

Gets the version of the plugin.

getWebsite
string getWebsite()

Gets the website of the plugin.

hasDependency
bool hasDependency(string moduleName)

Check if the plugin depends on another plugin.

isAvailable
bool isAvailable()

Check if the plugin is available.

isBuiltin
bool isBuiltin()

Check if the plugin is a builtin plugin.

isHidden
bool isHidden()

Check if the plugin is a hidden plugin.

isLoaded
bool isLoaded()

Check if the plugin is loaded.

Static functions

errorQuark
GQuark errorQuark()
getType
GType getType()

Variables

peasPluginInfo
PeasPluginInfo* peasPluginInfo;

the main Gtk struct