Base class for processing the different ini files used by X2go
clients. Primarily used to standardize the content of the different X2go
client ini file (settings, printing, sessions, xconfig).
If entries are omitted in an ini file, they are filled with default
values (as hard coded in Python X2go), so the resulting objects always
contain the same fields.
class
|
__call__(self,
section,
key,
key_type=None)
Retrieve a value for a given section and key. |
source code
|
|
|
__init__(self,
config_files,
defaults=None,
logger=None,
loglevel=56)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
class
|
get(self,
section,
key,
key_type=None)
Retrieve a value for a given section and key. |
source code
|
|
class
|
|
class
|
get_value(self,
section,
key,
key_type=None)
Retrieve a value for a given section and key. |
source code
|
|
|
load(self)
R(e-r)ead configuration file(s). |
source code
|
|
|
|
|
write(self)
Write the ini file modifications (SafeConfigParser object) from RAM
to disk. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|