Peas – 2
Description: Reference for Peas-2

### Namespace

# Peas – 2

GObject-based plugins engine

Version | 2.0.1
Authors | Steve Frécinaux, Garrett Regier, Christian Hergert
License | LGPL-2.0-or-later
Website | https://gitlab.gnome.org/GNOME/libpeas
Source | https://gitlab.gnome.org/GNOME/libpeas

#### Build

C headers | `libpeas.h`
pkg-config files | `libpeas-2`

#### Dependencies

GLib—2.0 | The base type system library
| Browse documentation
GObject—2.0 | The base type system library
| Browse documentation

#### Additional documentation

- Migrating from Peas 1.x to Peas 2
- Classes Hierarchy

#### Classes

Engine | The `PeasEngine` is the object which manages the plugins. since: 2
ExtensionBase | Base class for C extensions. since: 2
ExtensionSet | Proxy for a set of extensions of the same type. since: 2
ObjectModule | Type module which allows extension registration. since: 2
PluginInfo | A `PeasPluginInfo` contains all the information available about a plugin. since: 2

#### Enumerations

PluginInfoError | These identify the various errors that can occur while loading a plugin. since: 2

#### Callbacks

ExtensionSetForeachFunc | This function is passed to `peas_extension_set_foreach()` and will be called for each extension in `set`. since: 2
FactoryFunc | A `PeasFactoryFunc` is a factory function which will instanciate a new extension of a given type. `g_object_newv()` is such a function. since: 2

#### Function Macros

DEPRECATED_FOR | since: 2
DEPRECATED_IN_2_0_FOR | since: 2
UNAVAILABLE | since: 2