Wp.ComponentLoader

g GObject.GInterface GObject.GInterface Wp.ComponentLoader Wp.ComponentLoader GObject.GInterface->Wp.ComponentLoader

Implementations:

None

Methods

None

Virtual Methods

do_load (core, component, type, args, cancellable, callback, data)

do_supports_type (type)

Properties

None

Signals

None

Fields

None

Class Details

class Wp.ComponentLoader
Bases:

GObject.GInterface

Structure:

Wp.ComponentLoaderInterface

An interface that provides the ability to load components. Components can be:

  • WirePlumber modules (libraries that provide Wp.Plugin and Wp.SiFactory objects)

  • Scripts (ex. lua scripts)

The WirePlumber library provides built-in support for loading WirePlumber modules, without a component loader. For other kinds of components, a component loader is meant to be provided in by some WirePlumber module. For Lua scripts specifically, a component loader is provided by the lua scripting module.

do_load(core, component, type, args, cancellable, callback, data) virtual
Parameters:
do_supports_type(type) virtual
Parameters:

type (str) –

Return type:

bool