ExtensionSet


Description:

[ CCode ( has_construct_function = false ) ]
public ExtensionSet (Engine? engine, Type exten_type, ...)

Create a new ExtensionSet for the exten_type extension type.

At any moment, the ExtensionSet will contain an extension instance for each loaded plugin which implements the exten_type extension type. It does so by connecting to the relevant signals from [class@Engine].

The property values passed to ExtensionSet will be used for the construction of new extension instances.

If engine is null, then the default engine will be used.

Since libpeas 1.22, exten_type can be an Abstract [alias@GObject.Type] and not just an Interface [alias@GObject.Type].

See [method@Engine.create_extension] for more information.

Parameters:

engine

A Engine, or null.

exten_type

the extension Type.

...

the value of the first property, followed optionally by more name/value pairs, followed by null.

first_property

the name of the first property.

Returns:

a new instance of ExtensionSet.