Kaydet (Commit) d4bdbf10 authored tarafından Just van Rossum's avatar Just van Rossum

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

üst 96b64d06
...@@ -123,6 +123,13 @@ class Application(FrameWork.Application): ...@@ -123,6 +123,13 @@ class Application(FrameWork.Application):
del self._windows[wid] del self._windows[wid]
self.makeopenwindowsmenu() 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): def do_key(self, event):
(what, message, when, where, modifiers) = event (what, message, when, where, modifiers) = event
ch = chr(message & FrameWork.charCodeMask) ch = chr(message & FrameWork.charCodeMask)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment