Callbacks

ExtensionSetForeachFunc (set, info, exten, data)

FactoryFunc (parameters, *user_data)

Details

Peas.ExtensionSetForeachFunc(set, info, exten, data)
Parameters:

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:
Returns:

The created object.

Return type:

GObject.Object

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].