Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab662e3f40260ff03401de9d8b14fb03b4650d4f
Ticket: 645964ffffffffffffffffffffffffffffffffff
"update idle" fails to redraw tk windows
User & Date: dkf on 2002-12-02 20:59:00
Changes

  1. closedate changed to: "2002-12-02T13:59:00"
  2. closer changed to: "dkf"
  3. icomment:
    Logged In: YES 
    user_id=79902
    
    Redraws depend on not just Tk's internal state, but also the
    state of the windowing system and that can only get conveyed
    to us by way of events, and you need a full [update] for
    that to happen right.
    
    If you don't change the size (or position) of a window, you
    can count on [update idletasks] to do the redraw right (but
    geometry manager handling is something else again,
    especially with deeply nested windows) but in general you
    only see things up to date when you're servicing events
    fully.  Note that you probably want to do that anyway, since
    otherwise you can miss out on redraw notifications due to
    the user popping another window on top of yours, and even
    some screensavers are interpreted as other windows...
    
    
  4. login: "dkf"
  5. mimetype: "text/plain"
  6. title changed to: ""update idle" fails to redraw tk windows"
  7. username: "dkf"