[Tkinter-discuss] What's the point of Toplevel.wait_window?

Russell E. Owen rowen at uw.edu
Tue May 11 00:24:49 CEST 2010

In article 
<AANLkTin_qngD071tWqhKZL_J4CEhNGwuwxZALbpt_jkv at mail.gmail.com>,
 Geoff Bache <geoff.bache at gmail.com> wrote:

> Hi all,
> I'm struggling to understand what the wait_window method on
> Tkinter.Toplevel objects actually achieves.
> It seemed on the surface like it would make the dialog modal, but it
> doesn't do that. The "grab_set" method achieves that.
> I realise that it starts some kind of local wait loop but I can't
> actually discern any external effect from calling it.
> Regards,
> Geoff Bache

According to <http://wiki.tcl.tk/10014> it waits for the window to be 
destroyed. Why do you ask?

-- Russell

More information about the Tkinter-discuss mailing list