Tkinter (OOP?) help

3c273 nospam at nospam.com
Mon Jan 3 16:41:39 CET 2005


"Mike Meyer" <mwm at mired.org> wrote in message
news:863bxnry43.fsf at guru.mired.org...

> Every time you call newwindow, you rebind self.new to the window just
> created. So any close button that works will close the last window opened.
>
> You need to create a separate class for new windows, each with it's
> own self.new (or self.window) that it's self.closeme will call destroy
> on.
>
>         <mike
Thanks for the pointer.
Louis





More information about the Python-list mailing list