How to Update Scrollbar Position with Tkinter
<p>I am trying to create a GUI for a python script using Tkinter, and have a working scrollbar. However, the position of the 'bar' does not update when I scroll or drag the bar. I think the relevant portion of code is as follows:</p>

<pre><code>#Setup window with text and scrollbar       
root = Tk()
scrollbar = Scrollbar(root)
app = App(root)
t = Text(root)

#GRID manager layout
t.grid(row = 0, column = 1, sticky=N+S+W, padx = 5, pady = 5)
scrollbar.grid(row = 0, column = 2, sticky=N+S+W, )

scrollbar.config( command = t.yview )
</code></pre>

<p>I have tried searching for means to fix this, but cannot seem to figure out what I'm doing wrong. Any help would be really appreciated. My apologies if I've not included enough code, if you would like more, or to see the entire script (though it's 100 lines) I would be happy to oblige.</p>

<p>Thanks again for your time.</p>