On Fri, Oct 3, 2008 at 8:31 PM, [EMAIL PROTECTED] wrote:
I have a Tkinter button widget that when pressed invokes a Toplevel window
call each time. The Toplevel window thus generated has a close button on it.
As you might guess, when multiple Toplevel windows are open, I can press on a
[EMAIL PROTECTED] wrote
The behavior I seek is that one and only one Toplevel window
gets generated no matter how many times the original Tkinter
button is pressed.
Here is a minimal example of what I think you want?
Does that help?
--
Alan Gauld
Author of the Learn to Program web site
I have a Tkinter button widget that when pressed invokes a Toplevel window call
each time. The Toplevel window thus generated has a close button on it. As you
might guess, when multiple Toplevel windows are open, I can press on a 'close'
button to '.destroy' the window, but all other Toplevel