Callbacks¶
|
|
|
Details¶
- Peas.ExtensionSetForeachFunc(set, info, exten, data)¶
- Parameters:
set (
Peas.ExtensionSet) – APeas.ExtensionSet.info (
Peas.PluginInfo) – APeas.PluginInfo.exten (
GObject.Object) – A #PeasExtension.data (
objectorNone) – Optional data passed to the function.
This function is passed to [method`ExtensionSet`.foreach] and will be called for each extension in set.
New in version 1.2.
- Peas.FactoryFunc(parameters, *user_data)¶
- Parameters:
parameters ([
GObject.Parameter]) – The parameters.user_data (
objectorNone) – Optional data to be passed to the function, orNone.
- Returns:
The created object.
- Return type:
A
Peas.FactoryFuncis 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].