class documentation

class SectionedConfigDict(ControlledDict): (source)

Known subclasses: zim.config.dicts.INIConfigFile

View In Hierarchy

Dict with multiple sections of config values Sections are handled automatically when a non-existing item is retrieved.
Method __getitem__ Undocumented
Method __setitem__ Undocumented

Inherited from ControlledDict:

Method __delitem__ Undocumented
Method __init__ Undocumented
Method changed Undocumented
Method do_changed Undocumented
Method on_child_changed Undocumented
Method set_modified Set the modified state. Used to reset modified to False after the configuration has been saved to file. @param modified: True or False
Method update Undocumented
Class Variable __signals__ Undocumented
Property modified True when the values were modified, used to e.g. track when a config needs to be written back to file
Instance Variable _modified Undocumented

Inherited from SignalEmitter (via ControlledDict):

Method __new__ Undocumented
Method block_signals Returns a context manager for blocking one or more signals
Method connect Register a handler for a specific object.
Method connect_after Like connect() but handler will be called after default handler
Method disconnect Undocumented
Method emit Undocumented
Method emit_return_first Emits a signal and stops emission on the first handler that returns a not-None value.
Method emit_return_iter Returns an generator that calls one handler on each iteration and yields the return values. This allows aggregating return values.
Method _connect Undocumented
Method _setup_signal Undocumented
Method _teardown_signal Undocumented

Inherited from ConnectorMixin (via ControlledDict):

Method connectto Connect to signals of another object E.g.:
Method connectto_all Convenience method to combine multiple calls to connectto().
Method disconnect_all Disconnect all signals that have been connected with connectto and friends. Typically called when you want to destroy this object.
Method disconnect_from Disc all signals that have been connected with connectto and friends to a specific object.
Method _disconnect_from Undocumented
Instance Variable _connected_signals Undocumented
def __getitem__(self, k): (source)

Undocumented

def __setitem__(self, k, v): (source)