mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
added "dummy" makeopenwindowsmenu method to simplify making a standalone W app -- jvr
This commit is contained in:
parent
96b64d0675
commit
d4bdbf1097
1 changed files with 7 additions and 0 deletions
|
@ -123,6 +123,13 @@ class Application(FrameWork.Application):
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue