Пример #1
0
 def onXPReplay(self, evt):
     dlg = wx.FileDialog(None,
                         message="Choose a recording",
                         defaultDir=os.getcwd(),
                         defaultFile="",
                         wildcard="*.xpr*",
                         style=wx.OPEN | wx.CHANGE_DIR)
     if dlg.ShowModal() == wx.ID_OK:
         xputil.Process(self, (config.xpreplay, dlg.GetPath())).run()
Пример #2
0
 def OnLinkClicked(self, link):
     file = urllib.urlretrieve(self.baseurl + link.GetHref())[0]
     xputil.Process(self, (config.xpreplay, file)).run()
Пример #3
0
 def onBlock(self, evt):
     xputil.Process(self, (config.mapedit, )).run()
Пример #4
0
 def onPoly(self, evt):
     xputil.Process(self, (config.javaws, config.jxpmap_url)).run()