Tk Source Code

Artifact [ffc0628b]
Login

Artifact ffc0628b03c2a9b9d0d31c89c0ec4dc8f8a6dafc722cc989dd24076f6abfc2e8:

Attachment "treeview-bug.tcl" to ticket [a9e637f1] added by sbron 2023-12-25 11:16:34.
wm geometry . 200x360
pack [ttk::scrollbar .sb -command {.tv yview}] -side right -fill y
pack [ttk::treeview .tv -yscrollcommand {.sb set} -show tree] \
  -fill both -expand 1


for {set i 1} {$i < 25} {incr i} {
    .tv insert {} end -text "Item $i"
}