Tk Source Code

Artifact [3eb2a83b]
Login

Artifact 3eb2a83b659f44d90ce2ec11a6095fd182b3d4073ba7def2eb8d388930353a23:

Attachment "crash.tcl" to ticket [4994f5db] added by nemethi 2022-01-22 16:17:58.
package require tablelist_tile
source $tablelist::library/demos/dirViewer_tile.tcl

proc resetView tbl {
    $tbl delete 0 end

    #
    # The output produced by the optional code below might ease the debugging:
    #
    puts "\n*** tablelist-own after idle callbacks:"
    foreach id [after info] {
	lassign [after info $id] callback kind
	if {$kind eq "idle"} { puts "  $callback" }
    }

    #
    # The update idletasks invocation below will raise a SIGSEGV signal:
    #
    puts "\n*** invoking update idletasks"
    update idletasks
    puts "*** update idletasks finished\n"
}

after 2000 [list resetView .tf.tbl]