mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Fix for #731643: allow "lookup in documentation" to also work if the
interactive window is frontmost.
This commit is contained in:
parent
c7c78ae531
commit
9a79182316
4 changed files with 16 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue