Share and Money Management 0.18devel
|
Function to handle configuration settings. More...
Namespaces | |
namespace | gui |
namespace | gui.config |
The configuration module handles configuration entries stored in a file. | |
Functions | |
def | gui.config.init (filename=None) |
Initialize the class and load all values. More... | |
def | gui.config.set_item (key, value) |
Set a configuration value. More... | |
def | gui.config.get_item (key) |
Returns a configuration value. More... | |
def | gui.config.load () |
Load the configuration from a file. More... | |
def | gui.config.save (force=False, saveAll=False) |
Store configuration into a file. More... | |
Variables | |
dictionary | gui.config.config = {} |
Contains the current configuration items. More... | |
string | gui.config.config_file = "" |
File name of the configuration file. More... | |
string | gui.config.config_file_win = "./smmgui.ini" |
File name of the configuration file on Windows platforms. More... | |
string | gui.config.config_file_unix = "./smmguirc" |
File name of the configuration file on Unix platforms. More... | |
dictionary | gui.config.config_defaults = {} |
Default configuration settings. More... | |
bool | gui.config.has_changed = False |
Indicate changes at the configuration items. More... | |
string | gui.config.header |
Small header added to every written config file. More... | |
gui.config.py_version = sys.version.split()[0] | |
Python version. More... | |
string | gui.config.wx_version = "not_set" |
wxPython version More... | |
string | gui.config.platform = "not_set" |
Current platform (mostly wx.Platform) More... | |
string | gui.config.list_sep = " " |
Separator to converts lists into strings and back. More... | |
Function to handle configuration settings.