Package x2go :: Package backends :: Package profiles :: Module _winreg :: Class X2GoSessionProfilesWINREG
[frames] | no frames]

Class X2GoSessionProfilesWINREG

source code

          object --+    
                   |    
inifiles.X2GoIniFile --+
                       |
                      X2GoSessionProfilesWINREG

Instance Methods
 
__init__(self, session_profile_defaults=None, logger=None, loglevel=log.loglevel_DEFAULT)
Retrieve X2Go session profiles from the Windows registry.
source code

Inherited from inifiles.X2GoIniFile: __call__, __repr__, get, get_type, get_value, load, printable_config_file, update_value, write

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  defaultSessionProfile = X2GO_SESSIONPROFILE_DEFAULTS

Inherited from inifiles.X2GoIniFile: defaultValues, user_config_file, write_user_config

Properties

Inherited from object: __class__

Method Details

__init__(self, session_profile_defaults=None, logger=None, loglevel=log.loglevel_DEFAULT)
(Constructor)

source code 

Retrieve X2Go session profiles from the Windows registry.

Parameters:
  • session_profile_defaults (dict) - a default session profile
  • logger (X2GoLogger instance) - you can pass an X2GoLogger object to the X2GoSessionProfilesWINREG constructor
  • loglevel (int) - if no X2GoLogger object has been supplied a new one will be constructed with the given loglevel
Overrides: object.__init__