Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 61c16f60814761b4a8b0c334e3c78d4c972e5f4d
Ticket: 645964ffffffffffffffffffffffffffffffffff
"update idle" fails to redraw tk windows
User & Date: dkf on 2002-12-05 16:47:23
Changes

  1. closedate changed to: "2002-12-05T09:47:23"
  2. closer changed to: "dkf"
  3. icomment:
    Logged In: YES 
    user_id=79902
    
    Currently, Tk does as much as it can without the full event
    loop firing when you do [update idletasks].  That it isn't
    as much as you would like is rather sad, but the way things
    are anyway; altering things so that all updates within a
    window occur correctly when [update idletasks] is done would
    break things a lot more, especially the separation between
    Tcl and Tk.
    
    (And what about code that sets a <Configure> event handler
    on an internal window and redraws itself in response to
    that?  I've seen such stuff in operation - I've written and
    used such stuff! - and there's no way that that would behave
    "correctly" without full event loop servicing.  And anyway,
    the manpage you quoted does mention that not all updates
    will happen correctly without full [update] and it is also
    specifically not normative about what won't happen.  The
    docs are right, and the behaviour is unchangable; if things
    aren't happening quite right, that's just the
    platform-specific-ness biting you, but there's not much
    anyone can do about that, especially if the system widgets
    require full [update] to function correctly.)
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. title changed to: ""update idle" fails to redraw tk windows"
  7. username: "dkf"