Foundry.ConfigManager

g Foundry.ConfigManager Foundry.ConfigManager Foundry.Contextual Foundry.Contextual Foundry.Service Foundry.Service Foundry.Contextual->Foundry.Service Foundry.Service->Foundry.ConfigManager 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.ConfigManager Json.Serializable->Foundry.Contextual

Subclasses:

None

Methods

Inherited:

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

Structs:

Foundry.ServiceClass (3), GObject.ObjectClass (5)

dup_config ()

find_config (config_id)

set_config (config)

Virtual Methods

Inherited:

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

Properties

Inherited:

Foundry.Contextual (1)

Name

Type

Flags

Short Description

config

Foundry.Config

r/w/en

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class Foundry.ConfigManager(**kwargs)
Bases:

Foundry.Service, Gio.ListModel

Abstract:

No

Structure:

Foundry.ConfigManagerClass

Manage configuration providers and their configs.

dup_config()
Returns:

a Foundry.Config or None

Return type:

Foundry.Config or None

Gets the active configuration

find_config(config_id)
Parameters:

config_id (str) – an identifier matching a Foundry.Config :id

Returns:

a Foundry.Config or None

Return type:

Foundry.Config or None

Looks through available configs to find one matching config_id.

set_config(config)
Parameters:

config (Foundry.Config) –

Sets the active configuration for the config manager.

Other services such as the build manager or sdk manager may respond to changes of this property and update accordingly.

Property Details

Foundry.ConfigManager.props.config
Name:

config

Type:

Foundry.Config

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY