title: Python's scroll bar isn't moving
body: <p>I want my scrollbar is moving when I scroll.</p>
  <pre><code>import tkinter
  import tkinter.ttk
  
  window=tkinter.Tk()
  window.title(&quot;debug&quot;)
  window.geometry(&quot;640x400+200+200&quot;)
  window.resizable(1, 1)                                                     
  
  frame=tkinter.Frame(window)
  scrollbar=tkinter.Scrollbar(frame)
  scrollbar.pack(side=&quot;right&quot;, fill=&quot;y&quot;)
  
  treeview=tkinter.ttk.Treeview(frame, columns=[&quot;#1&quot;, &quot;#2&quot;], displaycolumns=[&quot;#1&quot;, &quot;#2&quot;])      
  treeview.pack()
  treeview.column(&quot;#0&quot;, width=100, anchor=&quot;center&quot;)
  treeview.heading(&quot;#0&quot;, text=&quot;Sequence&quot;, anchor=&quot;center&quot;)                       
  treeview.column(&quot;#1&quot;, width=150, anchor=&quot;center&quot;)
  treeview.heading(&quot;#1&quot;, text=&quot;name&quot;, anchor=&quot;center&quot;)                      
  treeview.column(&quot;#2&quot;, width=150, anchor=&quot;center&quot;)
  treeview.heading(&quot;#2&quot;, text=&quot;connect&quot;, anchor=&quot;center&quot;)                  
  treeview[&quot;height&quot;] = &quot;20&quot;                                         
  treelist=[(&quot;&quot;,&quot;&quot;)]                                                           
  test_list=[                                                                   
      [[&quot;1&quot;,&quot;1&quot;],[&quot;1&quot;,&quot;1&quot;]],    
      [],                                                                       
      [[&quot;2&quot;,&quot;2&quot;]],
      [[&quot;3&quot;,&quot;3&quot;],[&quot;3&quot;],[&quot;3&quot;, &quot;3&quot;]],
      [[&quot;7400 1&quot;,&quot;4600 2&quot;]],
      [[&quot;4&quot;,&quot;4a&quot;],[&quot;4&quot;,&quot;4b&quot;],[&quot;4&quot;,&quot;4c&quot;]],
      [[&quot;4&quot;,&quot;4a&quot;],[&quot;4&quot;,&quot;4b&quot;],[&quot;4&quot;,&quot;4c&quot;]],
      [[&quot;4&quot;,&quot;4a&quot;],[&quot;4&quot;,&quot;4b&quot;],[&quot;4&quot;,&quot;4c&quot;]],
      [[&quot;4&quot;,&quot;4a&quot;],[&quot;4&quot;,&quot;4b&quot;],[&quot;4&quot;,&quot;4c&quot;]],
      [[&quot;4&quot;,&quot;4a&quot;],[&quot;4&quot;,&quot;4b&quot;],[&quot;4&quot;,&quot;4c&quot;]]
      ]
  for i in range(1,len(test_list)+1):
      top=treeview.insert('', 'end', text=str(i), iid=(str(i)+&quot;번&quot;))
      for j in range(len(test_list[i-1])):
          top_mid1=treeview.insert(top, 'end', text=(str(i)+'-'+str(j+1)), values=test_list[i-1][j], iid=(str(i)+&quot;-&quot;+str(j+1)))
  
  
  scrollbar[&quot;command&quot;]=treeview.yview
  frame.pack()
  window.mainloop()
  </code></pre>
  <p>However, the scrollbar has stopped.
  Then force down the scrollbar with a mau, and it will go up again.</p>
  <p><img src="https://i.stack.imgur.com/hTuJZ.png" alt="" /></p>