The dip.settings.default_settings_manager module contains dip’s default settings manager implementation.
Base class: Model
The SettingsManager class is the default implementation of the ISettingsManager interface.
Load the application’s settings.
Parameters: |
|
---|
Read the value of a setting.
Parameter: | name – is the name of the setting. |
---|---|
Returns: | the value of the setting, or None if there is no such setting. |
Restore the settings for a sequence of models. If no settings have been loaded, i.e. load() has not been called, then this has no effect.
Parameter: | models – is the sequence of models. Any model that does not implement ISettings is ignored. |
---|
Save the settings for a sequence of models. If no settings have been loaded, i.e. load() has not been called, then this has no effect.
Parameter: | models – is the sequence of models. Any model that does not implement ISettings is ignored. |
---|
Write the value of a setting.
Parameters: |
|
---|