Esempio n. 1
0
class CubeApp(wx.App):
    def __init__(self):
        super(CubeApp, self).__init__()
        self.device = CubeDevice()

    def Run(self):
        frame = MainFrame(None, self.device)
        frame.Show()
        self.SetTopWindow(frame)
        self.SetExitOnFrameDelete(True)
        TaskBarIcon()
        self.MainLoop()
        self.device.disconnect()
Esempio n. 2
0
File: main.py Progetto: Tatider/cube
class CubeApp(wx.App):
    def __init__(self):
        super(CubeApp, self).__init__()
        self.device = CubeDevice()

    def Run(self):
        frame = MainFrame(None, self.device)
        frame.Show()
        self.SetTopWindow(frame)
        self.SetExitOnFrameDelete(True)
        TaskBarIcon()
        self.MainLoop()
        self.device.disconnect()
Esempio n. 3
0
 def __init__(self):
     super(CubeApp, self).__init__()
     self.device = CubeDevice()
Esempio n. 4
0
File: main.py Progetto: Tatider/cube
 def __init__(self):
     super(CubeApp, self).__init__()
     self.device = CubeDevice()