On Tue, Jan 31, 2006 at 06:34:38AM -0800, Blujacker (sent by Nabble.com) wrote:
> def znic():
>     okno.destroy

In Python, you must write 'f()' to call the function f with no
arguments.  Perhaps you meant to write
    def znic():
        okno.destroy()

destroy() is the correct method to call to get rid of a widget.

Jeff
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to