예제 #1
0
파일: main.py 프로젝트: rizaumami/keryx
    def OnClose(self, event):
        self.list.DeleteAllItems()
        self.projectDetails.Clear()
        self.list.tabpage.SetPackage()
        start = startDialog(None, -1, '')
        success = start.ShowModal()
        start.Destroy()

        if success == wx.ID_CANCEL:
            self.Close()
        else:
            self.Refresh(project.projects[len(project.projects) - 1].GetData())
예제 #2
0
    def OnClose(self, event):
        self.list.DeleteAllItems()
        self.projectDetails.Clear()
        self.list.tabpage.SetPackage()
        start = startDialog(None, -1, '')
        success = start.ShowModal()
        start.Destroy()

        if success == wx.ID_CANCEL:
            self.Close()
        else:
            self.Refresh(project.projects[len(project.projects) - 1].GetData())
예제 #3
0
 def OnInit(self):
     log.info(_('wxWidgets interface loaded'))
     wx.InitAllImageHandlers()
     main = MainApp(None, -1, consts.appName + " v" + consts.appVersion)
     self.SetTopWindow(main)
     main.Show()
     main.SetFocus()
     
     start = startDialog(None, -1, '')
     success = start.ShowModal()
     start.Destroy()
     
     if success == wx.ID_CANCEL: main.Close()
     else:
         main.Refresh(project.projects[len(project.projects) - 1].GetData())
         self.MainLoop()
     return 1
예제 #4
0
파일: __init__.py 프로젝트: rizaumami/keryx
 def OnInit(self):
     log.info(_('wxWidgets interface loaded'))
     wx.InitAllImageHandlers()
     main = MainApp(None, -1, consts.appName + " v" + consts.appVersion)
     self.SetTopWindow(main)
     main.Show()
     main.SetFocus()
     
     start = startDialog(None, -1, '')
     success = start.ShowModal()
     start.Destroy()
     
     if success == wx.ID_CANCEL: main.Close()
     else:
         main.Refresh(project.projects[len(project.projects) - 1].GetData())
         self.MainLoop()
     return 1