(self, defaults, show_hidden=False, default_settings=None, editable_dict=True)
Initialise config with the default values.
        Can also provide default settings to apply to everything, such as {'type': int, 'min': 0}.

        Enabling editable_dict will allow keys to be created and deleted.
        Disable if config contains important values that are not locked.
Initialise config with the default values.
        Can also provide default settings to apply to everything, such as {'type': int, 'min': 0}.
Initialise config with the default values . Can also provide default settings to apply to everything such as { type : int min : 0 } .
def __init__(self, defaults, show_hidden=False, default_settings=None, editable_dict=True):
        """Initialise config with the default values.
        Can also provide default settings to apply to everything, such as {'type': int, 'min': 0}.

        Enabling editable_dict will allow keys to be created and deleted.
        Disable if config contains important values that are not locked.
        """
        self._data = {}
        self._backup = {}
        self._default = defaults
        self._default_settings = default_settings
        self._load_from_dict(defaults)
        self.hidden = not show_hidden
        self.is_new = False
        self._editable_dict = editable_dict
        super(self.__class__, self).__init__(self._data)
def __init__ ( self , defaults , show_hidden = False , default_settings = None , editable_dict = True ) : self . _data = { } self . _backup = { } self . _default = defaults self . _default_settings = default_settings self . _load_from_dict ( defaults ) self . hidden = not show_hidden self . is_new = False self . _editable_dict = editable_dict super ( self . __class__ , self ) . __init__ ( self . _data )