On Mon, 09 Oct 2006 11:08:39 +0200, Claus Tondering
<[EMAIL PROTECTED]> wrote:
> I just solved the problem myself:
>
> I wrote:
>> self.destroy()
>
> Writing "self.master.destroy()" instead does the trick.
As an alternative (which is better IMHO), you may consider specializing
Top
Claus Tondering wrote:
> I am trying to make a Tkinter main window appear and disappear, but I
> have problems with that.
>
> Here is a small code sample:
>
> class MyDialog(Frame):
> def __init__(self):
> Frame.__init__(self, None)
> Label(self, text="Hello").
Claus Tondering wrote:
>I am trying to make a Tkinter main window appear and disappear, but I
> have problems with that.
>
> Here is a small code sample:
>
>class MyDialog(Frame):
>def __init__(self):
>Frame.__init__(self, None)
>Label(self, text="Hello").pack()
I just solved the problem myself:
I wrote:
> self.destroy()
Writing "self.master.destroy()" instead does the trick.
Sorry for the inconvenience.
--
Claus Tondering
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to make a Tkinter main window appear and disappear, but I
have problems with that.
Here is a small code sample:
class MyDialog(Frame):
def __init__(self):
Frame.__init__(self, None)
Label(self, text="Hello").pack()
Button(self, text="OK"