Peas.ExtensionBase¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The full path of the directory where the plugin should look for its data files |
||
r/w/co |
Information related to the current plugin |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Peas.ExtensionBase(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Base class for C extensions.
- get_data_dir()¶
- Returns:
A newly allocated string with the path of the directory where the plugin should look for its data files
- Return type:
Get the path of the directory where the plugin should look for its data files.
- get_plugin_info()¶
- Returns:
the [struct`PluginInfo`] relative to the
Peas.ExtensionBase
.- Return type:
Get information relative to self.
Property Details¶
- Peas.ExtensionBase.props.data_dir¶
-
The The full path of the directory where the plugin should look for its data files.
Note: This is the same path as that returned by [method`PluginInfo`.get_data_dir].
- Peas.ExtensionBase.props.plugin_info¶
- Name:
plugin-info
- Type:
- Default Value:
- Flags:
The [struct`PluginInfo`] related to the current plugin.