Foundry.ExtensionSet¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/co |
|||
r/w/co |
|||
r/w |
|||
r/w |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Class Details¶
- class Foundry.ExtensionSet(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manages a collection of extensions and provides unified access to their functionality.
Foundry.ExtensionSetprovides a model for managing extensions that implement a common interface. It handles extension loading, lifecycle management, and provides efficient access to extension functionality through a unified API. It integrates with the plugin system and supports dynamic extension management.- foreach(foreach_func, *user_data)¶
- Parameters:
foreach_func (
Foundry.ExtensionSetForeachFunc) – A callback
Calls foreach_func for every extension loaded by the extension set.
- foreach_by_priority(foreach_func, *user_data)¶
- Parameters:
foreach_func (
Foundry.ExtensionSetForeachFunc) – A callback
Calls foreach_func for every extension loaded by the extension set.
- get_engine()¶
- Returns:
a
Peas.Engine.- Return type:
Gets the
Foundry.ExtensionSet:engineproperty.
- get_extension(plugin_info)¶
- Parameters:
plugin_info (
Peas.PluginInfo) – aPeas.PluginInfo- Returns:
a
GObject.ObjectorNone- Return type:
Locates the extension owned by plugin_info if such extension exists.
- get_interface_type()¶
- Return type:
Signal Details¶
- Foundry.ExtensionSet.signals.extension_added(extension_set, object, p0)¶
- Signal Name:
extension-added- Flags:
- Parameters:
extension_set (
Foundry.ExtensionSet) – The object which received the signalobject (
Peas.PluginInfo) –p0 (
GObject.Object) –
- Foundry.ExtensionSet.signals.extension_removed(extension_set, object, p0)¶
- Signal Name:
extension-removed- Flags:
- Parameters:
extension_set (
Foundry.ExtensionSet) – The object which received the signalobject (
Peas.PluginInfo) –p0 (
GObject.Object) –
- Foundry.ExtensionSet.signals.extensions_loaded(extension_set)¶
- Signal Name:
extensions-loaded- Flags:
- Parameters:
extension_set (
Foundry.ExtensionSet) – The object which received the signal
Property Details¶
- Foundry.ExtensionSet.props.engine¶
- Name:
engine- Type:
- Default Value:
- Flags:
- Foundry.ExtensionSet.props.interface_type¶
- Name:
interface-type- Type:
- Default Value:
<GType GObject>- Flags: