Foundry.ConfigManager¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.ConfigManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manage configuration providers and their configs.
- dup_config()¶
- Returns:
a
Foundry.ConfigorNone- Return type:
Gets the active configuration
- find_config(config_id)¶
- Parameters:
config_id (
str) – an identifier matching aFoundry.Config:id- Returns:
a
Foundry.ConfigorNone- Return type:
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:
- Default Value:
- Flags: