Is it possible to associate a scrollbar with a widget
other than text? I'm using more frames than will fit
on the screen. I'd like to do something similar to
the following:
#!/usr/bin/wish
for {set i 0} {$i < 100} {incr i} {
button .$i -text button
grid .$i -row $i -column 0
}
scrollbar .scroll -command ". yview" -orient v
grid .scroll -row 0 -rowspan 10 -column 1 -sticky ns
other than text? I'm using more frames than will fit
on the screen. I'd like to do something similar to
the following:
#!/usr/bin/wish
for {set i 0} {$i < 100} {incr i} {
button .$i -text button
grid .$i -row $i -column 0
}
scrollbar .scroll -command ". yview" -orient v
grid .scroll -row 0 -rowspan 10 -column 1 -sticky ns