diff options
Diffstat (limited to 'ext/tk/sample/tkmultilistbox.rb')
-rw-r--r-- | ext/tk/sample/tkmultilistbox.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/tk/sample/tkmultilistbox.rb b/ext/tk/sample/tkmultilistbox.rb index 257cf95c39..c3787a0cf0 100644 --- a/ext/tk/sample/tkmultilistbox.rb +++ b/ext/tk/sample/tkmultilistbox.rb @@ -109,9 +109,7 @@ class TkMultiListbox < TkListbox @v_scroll.set first, last } } -# @v_scroll.command proc{|*args| @lbox_list.each{|lbox| lbox.yview *args} } - @v_scroll.command proc{|*args| p "";p [@lbox_list, args]; @lbox_list.each{|lbox| lbox.yview *args} } -# @v_scroll.command proc{|*args| p "";p [@lbox_list, args]; @lbox_list.each{|lbox| lbox.yview *args}; p [@lbox_list, args] } + @v_scroll.command proc{|*args| @lbox_list.each{|lbox| lbox.yview *args} } # binding for listboxes @mode = {} |