Beispiel #1
0
 def __init__(self, pyshell, idb=None):
     Component.__init__(self, pyshell.flist)
     if idb is None:
         idb = Idb(self)
     self.framevars = {}
     self.pyshell = pyshell
     self.idb = idb
     self.frame = None
     self._ttk = ui.using_ttk
     self.make_gui()
     self.interacting = 0
     self.nesting_level = 0
     self.running = False
Beispiel #2
0
 def __init__(self, pyshell, idb=None):
     Component.__init__(self, pyshell.flist)
     if idb is None:
         idb = Idb(self)
     self.framevars = {}
     self.pyshell = pyshell
     self.idb = idb
     self.frame = None
     self._ttk = ui.using_ttk
     self.make_gui()
     self.interacting = 0
     self.nesting_level = 0
     self.running = False
Beispiel #3
0
 def __init__(self, flist, name, path, _htest=False):
     # XXX This API should change, if the file doesn't end in ".py"
     # XXX the code here is bogus!
     """
     _htest - bool, change box when location running htest.
     """
     Component.__init__(self, flist)
     global file_open
     if not _htest:
         file_open = PyShell.flist.open
     self.name = name
     self.file = os.path.join(path[0], self.name + ".py")
     self._htest = _htest
     self.init(flist)
Beispiel #4
0
 def __init__(self, flist, name, path, _htest=False):
     # XXX This API should change, if the file doesn't end in ".py"
     # XXX the code here is bogus!
     """
     _htest - bool, change box when location running htest.
     """
     Component.__init__(self, flist)
     global file_open
     if not _htest:
         file_open = PyShell.flist.open
     self.name = name
     self.file = os.path.join(path[0], self.name + ".py")
     self._htest = _htest
     self.init(flist)