tkMessageBox dialog help

garyr at fidalgo.net garyr at fidalgo.net
Sun May 1 10:37:28 EDT 2005


Nathan wrote:
> Hi,
>
> I've been testing the standard dialog boxes in tkMessageBox under
IDLE.
> If I type for example, tkMessageBox.askyesno('test', 'test'), the
dialog box
> comes up fine but another window also appears. I'm guessing this is
the
> parent window of the message box. If I click on either of the yes/no
> buttons, i get a True/False on the std out and the dialog box closes
but the
> parent window remains and seems to hang. This is on WinXP by the way.
Is
> this normal behaviour? How do I get the dialog box appearing without
the
> parent window or is this not possible?
>
> Thanks,
> Nathan.

See the post to this NG by Jeff Epler on  Apr 12, Tkinter "withdraw"
and "askstring" problem

 I think you can find the answer to your question there.




More information about the Python-list mailing list