Пример #1
0
class Wx_App(wx.App):
    def __init__(self, *args, **kwargs):
        """Creates a test wx App"""
        super(Wx_App, self).__init__(*args, **kwargs)
        self._create_config()
        
    def _create_config(self):
        """Set up config"""
        self.config= IdeConfig()
  
    def OnExit(self):
        """Handles the frame closing function"""
        print ("App closing")
        self.config.update_configfile()
Пример #2
0
class Wx_App(wx.App):
    def __init__(self, *args, **kwargs):
        """Creates a test wx App"""
        super(Wx_App, self).__init__(*args, **kwargs)
        self._create_config()

    def _create_config(self):
        """Set up config"""
        self.config = IdeConfig()

    def OnExit(self):
        """Handles the frame closing function"""
        print("App closing")
        self.config.update_configfile()
Пример #3
0
 def _create_config(self):
     """Set up config"""
     self.config= IdeConfig()
Пример #4
0
 def _create_config(self):
     """Set up config"""
     self.config = IdeConfig()