470,614 Members | 1,434 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

message box halts prgram flow

HI

I am creating a tkinter app.

example

tkMessageBox.showinfo("Window Text", "A short message")
print "blah"

The execution of the application halts when the message box is
displayed until the user clicks OK, then "blah is printed.

However I want the program to display message box and continue on to
print blah without waiting for user response.

Any suggestions on how to go about this?

cheers David

Mar 18 '06 #1
1 1418
li********@yahoo.com.au a écrit :
HI

I am creating a tkinter app.

example

tkMessageBox.showinfo("Window Text", "A short message")
print "blah"

The execution of the application halts when the message box is
displayed until the user clicks OK, then "blah is printed.
Yeps, this is pretty much what anyone would expect from a sensible GUI
toolkit.

However I want the program to display message box and continue on to
print blah without waiting for user response.
What's your use case ?
Any suggestions on how to go about this?


Either use a non-modal window instead of a modal dialog box or use
different threads.
Mar 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Roy G. Vervoort | last post: by
9 posts views Thread by Alvin Bruney [MVP] | last post: by
reply views Thread by Pedro Lucas via .NET 247 | last post: by
2 posts views Thread by brianlum | last post: by
15 posts views Thread by Mikhail Kovalev | last post: by
1 post views Thread by R.M. | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.