Overview
| Artifact ID: | 4de8f2e1dfd47f30dbe77cb4225ddc36a961fe0a |
|---|---|
| Ticket: | 3461049fffffffffffffffffffffffffffffffff
Tk stops to draw entries (200*50) |
| User & Date: | tombert on 2011-12-17 18:50:54 |
Changes
- icomment:
With the following workflow I'am able to reduce the number of entries on each run: Run the "entries" procedure so that you end up with one toplevel that does stop drawing entries (on my computer this is 192.36). Then run the code below, which is similar to the one above. While the code is running (see the puts in the console) delete the last window (192) by clicking with the mouse on the X. The next window that opens up has one entry less then the one before (so in my case ???.35) set ::alltop 201 set ::stoptop 200 proc te {} { for {set top $::alltop} {$top < ($::alltop + $::stoptop)} {incr top} { set w [toplevel .top$top] for {set entry 1} {$entry <= 50} {incr entry} { puts ${top}.${entry} set e [entry $w.e$entry] $e insert end ${top}.${entry} pack $e -fill x -expand yes update idletask } update } set ::alltop $top set ::stoptop 200 puts "." puts "finished" } Also I experienced weird things that opening/closing files, sockets etc sometimes reduces the number of entries even more (unfort. not reproducable). Note: The handles, threads, GID in the windows task-manager is still very low. thx - login: "tombert"
- mimetype: "text/plain"
- username: "tombert"