Foundry.ConfigProvider

g Foundry.ConfigProvider Foundry.ConfigProvider Foundry.Contextual Foundry.Contextual Foundry.Contextual->Foundry.ConfigProvider GObject.GInterface GObject.GInterface Gio.ListModel Gio.ListModel GObject.GInterface->Gio.ListModel Json.Serializable Json.Serializable GObject.GInterface->Json.Serializable GObject.Object GObject.Object GObject.Object->Foundry.Contextual Gio.ListModel->Foundry.ConfigProvider Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)

Structs:

GObject.ObjectClass (5)

config_added (config)

config_removed (config)

dup_name ()

Virtual Methods

Inherited:

GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)

do_dup_name ()

Properties

Inherited:

Foundry.Contextual (1)

Signals

Inherited:

GObject.Object (1), Gio.ListModel (1)

Fields

Inherited:

GObject.Object (1), Gio.ListModel (1)

Name

Type

Access

Description

parent_instance

Foundry.Contextual

r

Class Details

class Foundry.ConfigProvider(**kwargs)
Bases:

Foundry.Contextual, Gio.ListModel

Abstract:

Yes

Structure:

Foundry.ConfigProviderClass

Abstract base class for plugins to implement access to custom configs.

config_added(config)
Parameters:

config (Foundry.Config) –

config_removed(config)
Parameters:

config (Foundry.Config) –

dup_name()
Returns:

the name of the provider

Return type:

str

Gets a name for the provider that is expected to be displayed to users such as “Flatpak”.

do_dup_name() virtual
Returns:

the name of the provider

Return type:

str

Gets a name for the provider that is expected to be displayed to users such as “Flatpak”.