Overview
| Artifact ID: | 77ba52c34512225cf9c060426c41710bcb138907 |
|---|---|
| Ticket: | 645964ffffffffffffffffffffffffffffffffff
"update idle" fails to redraw tk windows |
| User & Date: | vincentdarley on 2002-12-03 18:05:28 |
Changes
- closedate changed to: "2002-12-03T11:05:28"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 I appreciate there may be some platform-limitations regarding this sort of behaviour, but as far as possible 'update idletasks' should ensure the gui is as fully updated as possible. Perhaps we need some caveat associated with toplevel window size changes, but I would assume that if the size of a toplevel doesn't change, Tk should be able to arrange for all internal widgets (including deeply nested ones) to be update. Currently it doesn't. The man page says: "The update idletasks command is useful in scripts where changes have been made to the application's state and you want those changes to appear on the display immediately, rather than waiting for the script to complete. Most display updates are performed as idle callbacks, so update idletasks will cause them to run. However, there are some kinds of updates that only happen in response to events, such as those triggered by window size changes; these updates will not occur in update idletasks." Under the common assumption that "window" = "toplevel window", Tk's behaviour does not agree with the above. (see e.g. bug 220776).
- login: "vincentdarley"
- mimetype: "text/plain"
- title changed to: ""update idle" fails to redraw tk windows"
- username: "vincentdarley"