Callbacks¶
|
|
|
Details¶
- Peas.ExtensionSetForeachFunc(set, info, extension, data)¶
- Parameters:
set (
Peas.ExtensionSet
) – APeas.ExtensionSet
.info (
Peas.PluginInfo
) – APeas.PluginInfo
.extension (
GObject.Object
) – The extension instance.data (
object
orNone
) – Optional data passed to the function.
This function is passed to [method`ExtensionSet`.foreach] and will be called for each extension in set.
- Peas.FactoryFunc(parameters, *user_data)¶
- Parameters:
parameters ([
GObject.Parameter
]) – The parameters.user_data (
object
orNone
) – Optional data to be passed to the function, orNone
.
- Returns:
The created object.
- Return type:
A
Peas.FactoryFunc
is a factory function which will instanciate a new extension of a given type. [ctor`GObject`.Object.newv] is such a function.It is used with [method`ObjectModule`.register_extension_factory].