Class

PeasObjectModule

Description [src]

class Peas.ObjectModule : GObject.TypeModule {
  parent_instance: GTypeModule
}

Type module which allows extension registration.

PeasObjectModule is a subclass of GTypeModule which allows registration of extensions. It will be used by C extensions implementors to register extension implementations from within the peas_register_types module function.

Ancestors

  • GTypeModule
  • GObject

Implements

  • GTypePlugin

Constructors

peas_object_module_new

Creates a new PeasObjectModule.

peas_object_module_new_embedded

Creates a new PeasObjectModule for an embedded plugin.

Available since: 1.18

peas_object_module_new_full

Creates a new PeasObjectModule.

Instance methods

peas_object_module_create_object

Creates an object for the exten_type passing n_parameters and parameters to the FactoryFunc.

peas_object_module_get_library

Gets the library.

peas_object_module_get_module_name

Gets the module name.

peas_object_module_get_path

Gets the path.

peas_object_module_get_symbol

Gets the symbol name used to register extension implementations.

Available since: 1.18

peas_object_module_provides_object

Determines if the module provides an extension for exten_type.

peas_object_module_register_extension_factory

Register an implementation for an extension type through a factory function factory_func which will instantiate the extension when requested.

peas_object_module_register_extension_type

Register impl_type as an extension which implements extension_type.

Properties

Peas.ObjectModule:local-linkage

Whether the module is loaded with local linkage, i.e. #G_MODULE_BIND_LOCAL.

Peas.ObjectModule:module-name
No description available.
Peas.ObjectModule:path
No description available.
Peas.ObjectModule:resident
No description available.
Peas.ObjectModule:symbol
No description available.

Class structure

struct PeasObjectModuleClass {
  GTypeModuleClass parent_class;
  
}
Class members
parent_class
GTypeModuleClass
 

The parent class.