tkinter scrollbar greyed out
<p>I wrote this code for a scrollbar:</p>

<pre><code>from tkinter import *

from tkinter.ttk import *


root =  Tk()
root.geometry("500x500")

eventFrame = LabelFrame(root, text = "Upcoming Events", width = 500, height = 500)
eventFrame.pack(pady = 5, padx = 5, anchor = CENTER, fill = BOTH, expand = True)

scrollCanvas = Canvas(eventFrame, width = 50, height = 500)
scrollCanvas.pack(pady = 5, padx = 5)

scrollbar = Scrollbar(scrollCanvas)
scrollbar.pack(side = RIGHT, fill = Y)

eventCanvas = Canvas(scrollCanvas, width = 500, height = 500, yscrollcommand = scrollbar.set)
eventCanvas.pack(pady = 5, padx = 5)

for x in range(100):
    label = LabelFrame(eventCanvas, text = "Title {}".format(x), height = 500, width = 500)
    label.pack(pady = 10, padx = 10, expand = True, fill =  BOTH)

    text = Label(label, text = "This is a test event. no.{}".format(x))
    text.pack(anchor = CENTER, pady = 5, padx = 5, expand = True, fill =  BOTH)

scrollbar.config(command = eventCanvas.yview, scrollregion = eventCanvas.bbox("all"))

root.mainloop()
</code></pre>

<p>However, the scrollbar is greyed out. I assume, based on other SO SE answers that I have my bar scrolling the wrong canvas. How would I fix this? I`m not sure how to switch the canvas without messing it up.</p>