EDataServer.Extensible

g EDataServer.Extensible EDataServer.Extensible GObject.GInterface GObject.GInterface GObject.GInterface->EDataServer.Extensible

Implementations:

EDataServer.OAuth2Services, EDataServer.SourceCredentialsProvider

Methods

list_extensions (extension_type)

load_extensions ()

reload_extensions ()

Virtual Methods

None

Properties

None

Signals

None

Fields

None

Class Details

class EDataServer.Extensible
Bases:

GObject.GInterface

Structure:

EDataServer.ExtensibleInterface

list_extensions(extension_type)
Parameters:

extension_type (GObject.GType) – the type of extensions to list

Returns:

a list of extension objects derived from extension_type

Return type:

[EDataServer.Extension]

Returns a list of EDataServer.Extension objects bound to self whose types are ancestors of extension_type. For a complete list of extension objects bound to self, pass %E_TYPE_EXTENSION.

The list itself should be freed with g_list_free(). The extension objects are owned by self and should not be unreferenced.

New in version 3.4.

load_extensions()

Creates an instance of all instantiable subtypes of EDataServer.Extension which target the class of self. The lifetimes of these newly created EDataServer.Extension objects are bound to self such that they are finalized when self is finalized.

New in version 3.4.

reload_extensions()

Similar to EDataServer.Extensible.load_extensions(), only loads newly discovered extensions again. This can help in case a new module had been loaded to the process, which provides the extensions for the self.

New in version 3.46.