Exemple #1
0
 def initialize_globals(self):
     """ Initialize config and images global constants """
     cliopts = CliOptions()
     statusbar = StatusBar(self)
     config = initialize_config(self, cliopts, statusbar)
     initialize_images()
     return config
Exemple #2
0
 def initialize_globals(self, pathscript):
     """ Initialize config and images global constants """
     cliopts = CliOptions()
     scaling_factor = self.get_scaling()
     pathcache = os.path.join(pathscript, "lib", "gui", ".cache")
     statusbar = StatusBar(self)
     session = Session()
     initialize_config(self, cliopts, scaling_factor, pathcache, statusbar, session)
     initialize_images()
Exemple #3
0
 def initialize_globals(self, pathscript):
     """ Initialize config and images global constants """
     cliopts = CliOptions()
     scaling_factor = self.get_scaling()
     pathcache = os.path.join(pathscript, "lib", "gui", ".cache")
     statusbar = StatusBar(self)
     session = Session()
     initialize_config(cliopts, scaling_factor, pathcache, statusbar, session)
     initialize_images()