added "dummy" makeopenwindowsmenu method to simplify making a standalone W app -- jvr

This commit is contained in:
Just van Rossum 1999-02-26 21:30:19 +00:00
parent 96b64d0675
commit d4bdbf1097
1 changed files with 7 additions and 0 deletions

View File

@ -123,6 +123,13 @@ def removewindow(self, wid):
del self._windows[wid]
self.makeopenwindowsmenu()
def makeopenwindowsmenu(self):
# dummy; could be the full version from PythonIDEMain.py
self._openwindows = {}
self._openwindowscheckmark = 0
if not hasattr(self, "_menustocheck"):
self._menustocheck = []
def do_key(self, event):
(what, message, when, where, modifiers) = event
ch = chr(message & FrameWork.charCodeMask)