Fix for #731643: allow "lookup in documentation" to also work if the

interactive window is frontmost.
This commit is contained in:
Jack Jansen 2003-05-06 14:28:31 +00:00
parent c7c78ae531
commit 9a79182316
4 changed files with 16 additions and 5 deletions

View file

@ -131,6 +131,12 @@ class Application(FrameWork.Application):
handler = getattr(window, attr)
apply(handler, args)
return 1
def getfrontwindow(self):
wid = MyFrontWindow()
if wid and self._windows.has_key(wid):
return self._windows[wid]
return None
def appendwindow(self, wid, window):
self._windows[wid] = window