Tkinter - Multiple Windows from different modules
Todd Lichty
twlichty at execulink.com
Mon Nov 20 11:32:54 EST 2000
I am trying to show two windows on the screen with them existing in
different modules. I.e.
ModuleA.py
class A:
def __init__(self):
root = Tk()
...setup window...
root.mainloop()
def showOtherWindow()
x = ModuleB.b()
...do stuff with info returned...
ModuleBB.py:
class B:
def __init__(self):
root = Tk()
...setup window...
root.mainloop()
What I want to happen is that when window B is closed, the focu returns to
window A and the code in showOtherWindow continues executing.
Thanks in advance,
Todd
More information about the Python-list
mailing list