Пример #1
0
 def showCoder(self, event=None, fileList=None):
     # have to reimport because it is ony local to __init__ so far
     from . import coder
     if self.coder is None:
         title = "PsychoPy3 Coder (IDE) (v%s)"
         self.coder = coder.CoderFrame(None, -1,
                                       title=title % self.version,
                                       files=fileList, app=self)
     self.coder.Show(True)
     self.SetTopWindow(self.coder)
     self.coder.Raise()
Пример #2
0
 def showCoder(self, event=None, fileList=None):
     # have to reimport because it is ony local to __init__ so far
     from psychopy.app import coder
     if self.coder is None:
         title = "PsychoPy2 Coder (IDE) (v%s)"
         self.coder = coder.CoderFrame(None, -1,
                                       title=title % self.version,
                                       files=fileList, app=self)
     self.coder.Show(True)
     self.SetTopWindow(self.coder)
     self.coder.Raise()
     self.coder.setOutputWindow()  # takes control of sys.stdout
Пример #3
0
 def showCoder(self, event=None, fileList=None):
     # have to reimport because it is only local to __init__ so far
     from . import coder
     if self.coder is None:
         title = "PsychoPy Coder (IDE) (v%s)"
         wx.BeginBusyCursor()
         self.coder = coder.CoderFrame(None, -1,
                                       title=title % self.version,
                                       files=fileList, app=self)
         self.updateWindowMenu()
         wx.EndBusyCursor()
     else:
         # Set output window and standard streams
         self.coder.setOutputWindow(True)
     self.coder.Show(True)
     self.SetTopWindow(self.coder)
     self.coder.Raise()