I'm trying to get my button to stick to my frame, but I can't get it to place on the proper frame.
My code is causing my button to be placed on the "root" widget. I want it on my "top_frame" frame. I thought I was packing it onto the correct frame. How do I get it on "top_frame"?
from Tkinter import *
print "Run button clicked"
run_button = Button(top_frame, text="Run", command=run).pack()
root = Tk()
top_frame = Frame(root, bg="red", height=50, width=450).pack(side=TOP)