Progress bar value is not updating in tk Sex skib chat

Rated 4.55/5 based on 733 customer reviews

There is apparently no simple way of updating the display of newly created toplevel's on Windows without returning full control to the GUI (at least with tk/Tkinter) I never saw the problem you describe (some windows refreshing, some not), but I mainly develop on Linux, which may show a different behaviour than the platform you're working on (which BTW you don't mention...).

Maybe you can post a small piece of code showing the problem?

Maybe you can post a small piece of code showing the problem? First, in response to your questions: (1) I am on Linux (there are other platforms?

); (2) I am using Python 2.3; (3) it is difficult to extract a piece of the code, but I will attempt to describe more clearly what I am doing. In the handler I use popen3 to launch a program that takes a long time to execute.

To work around this problem, use the wait_visibility method to wait until the newly created window is displayed.

But be careful: wait_visibility processes events, unlike update_idletasks that does just a GUI refresh.

progress bar value is not updating in tk-88

There is apparently no simple way of updating the display of newly created toplevel's on Windows without returning full control to the GUI (at least with tk/Tkinter) I never saw the problem you describe (some windows refreshing, some not), but I mainly develop on Linux, which may show a different behaviour than the platform you're working on (which BTW you don't mention...). However, that is not the behavior that I am seeing.I monitor its progress in a while loop by reading a status line that it produces on stderr.The status line provides information about percentage complete; I use that information to update the Message Bar in my GUI.During that time, I would like for the GUI to continue to show signs oflife.Ifigured out that if I run update_idletasks on that Message Bar, then the Message Bar will update the display as I update the message.

Leave a Reply