Home | Trees | Indices | Help |
|
---|
|
Handle application configuration.
This module is global and can be used by all modules. Before accessing configurations, the read function should be called. To save the current configuration back to file, call the write method.
Classes | |
Config Provide read and write access to application configuration settings. |
Functions | |||
|
|||
|
Variables | |
SELECTED_EVENT_BOX_DRAWER = "selected_event_box_drawer"
|
|
WINDOW_WIDTH = "window_width"
|
|
WINDOW_HEIGHT = "window_height"
|
|
WINDOW_XPOS = "window xpos"
|
|
WINDOW_YPOS = "window ypos"
|
|
RECENT_FILES = "recent_files"
|
|
WEEK_START = "week_start"
|
|
DATE_FORMAT = "date_format"
|
|
DEFAULTS = {SELECTED_EVENT_BOX_DRAWER: "Default Event box draw
|
|
MAX_NBR_OF_RECENT_FILES_SAVED = 5
|
|
ENCODING = "utf-8"
|
|
BOOLEAN_CONFIGS = {'name': 'show_toolbar', 'default': 'True'},
|
|
INT_CONFIGS = {'name': 'sidebar_width', 'default': '200'}, {'n
|
|
STR_CONFIGS = {'name': 'experimental_features', 'default': ''}
|
|
COLOUR_CONFIGS = {'name': 'now_line_colour', 'default': '(200,
|
|
FONT_CONFIGS = {'name': 'minor_strip_font', 'default': '10:74:
|
|
BOOLEANS = [d ['name'] for d in BOOLEAN_CONFIGS]
|
|
INTS = [d ['name'] for d in INT_CONFIGS]
|
|
COLOURS = [d ['name'] for d in COLOUR_CONFIGS]
|
|
FONTS = [d ['name'] for d in FONT_CONFIGS]
|
Imports: ConfigParser, DEFAULTSECT, os, sys, GregorianDateFormatter, DateFormatParser, Observable, display_information_message
Variables Details |
DEFAULTS
|
BOOLEAN_CONFIGS
|
INT_CONFIGS
|
STR_CONFIGS
|
COLOUR_CONFIGS
|
FONT_CONFIGS
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Mar 25 02:55:27 2020 | http://epydoc.sourceforge.net |